This is a static copy of a profile report

Home

mapTopic (Calls: 1, Time: 0.161 s)
Generated 18-May-2021 16:05:19 using performance time.
function in file /usr/local/MATLAB/R2021a/toolbox/matlab/helptools/+matlab/+internal/+doc/+csh/mapTopic.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
getExtendedErrorCallbackfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
5
helpPath = helpTopicMap.mapTop...
10.119 s73.8%
3
helpTopicMap = matlab.internal...
10.037 s22.8%
7
end
10.005 s3.4%
4
if ~isempty(helpTopicMap)
10.000 s0.0%
2
helpPath = "";
10.000 s0.0%
All other lines  0.000 s0.0%
Totals  0.161 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
HelpTopicMap>HelpTopicMap.mapTopicclass method10.118 s73.6%
HelpTopicMap>HelpTopicMap.fromTopicPathclass method10.009 s5.4%
Self time (built-ins, overhead, etc.)  0.034 s20.9%
Totals  0.161 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)1
Code lines (lines that can run)6
Code lines that did run6
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function helpPath = mapTopic(topicPath, topicId)
< 0.001 
      1 
   2
    helpPath = ""; 
  0.037 
      1 
   3
    helpTopicMap = matlab.internal.doc.csh.HelpTopicMap.fromTopicPath(topicPath); 
< 0.001 
      1 
   4
    if ~isempty(helpTopicMap) 
  0.119 
      1 
   5
        helpPath = helpTopicMap.mapTopic(topicId); 
< 0.001 
      1 
   6
    end 
  0.005 
      1 
   7
end 

Other subfunctions in this file are not included in this listing.