This is a static copy of a profile report

Home

HelpTopicMap>HelpTopicMap.getMappingForId (Calls: 1, Time: 0.001 s)
Generated 18-May-2021 16:05:21 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/helptools/+matlab/+internal/+doc/+csh/HelpTopicMap.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
HelpTopicMap>HelpTopicMap.mapSingleTopicclass method1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
317
idField = matlab.lang.makeVali...
10.001 s87.8%
318
if ~strcmp(idField, id) &&...
10.000 s4.7%
314
if isfield(helpTargets, id)
10.000 s3.9%
313
mapping = [];
10.000 s0.7%
322
end        
10.000 s0.5%
All other lines  0.000 s2.3%
Totals  0.001 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
makeValidNamefunction10.001 s76.7%
Self time (built-ins, overhead, etc.)  0.000 s23.3%
Totals  0.001 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function11
Non-code lines (comments, blank lines)1
Code lines (lines that can run)10
Code lines that did run8
Code lines that did not run2
Coverage (did run/can run)80.00 %
Function listing
time 
Calls 
 line
 312 
        function mapping = getMappingForId(helpTargets, id)
< 0.001 
      1 
 313
            mapping = []; 
< 0.001 
      1 
 314
            if isfield(helpTargets, id) 
 315 
                mapping = helpTargets.(id);
< 0.001 
      1 
 316
            else 
< 0.001 
      1 
 317
                idField = matlab.lang.makeValidName(id); 
< 0.001 
      1 
 318
                if ~strcmp(idField, id) && isfield(helpTargets, idField) 
 319 
                    mapping = helpTargets.(idField);
< 0.001 
      1 
 320
                end 
< 0.001 
      1 
 321
            end 
< 0.001 
      1 
 322
        end         

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