This is a static copy of a profile report

Home

resolveShortName (Calls: 1, Time: 0.001 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/+java/resolveShortName.m
Copy to new window for comparing multiple runs

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
6
shortname = string(item.getSho...
10.001 s48.3%
2
docConfig = com.mathworks.mlwi...
10.000 s23.7%
4
item = docSet.getDocSetItemByS...
10.000 s11.6%
3
docSet = docConfig.getDocument...
10.000 s8.3%
5
if ~isempty(item)
10.000 s6.5%
All other lines  0.000 s1.6%
Totals  0.001 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
opaque.stringfunction10.000 s31.2%
...s.help.DocCenterDocConfig.getInstanceJava method10.000 s13.5%
...search.product.SimpleDocumentationSetJava method10.000 s2.5%
...ets.help.docconfig.ConnectorDocConfigJava method10.000 s1.3%
...s.helpsearch.product.SimpleDocProductJava method10.000 s1.2%
Self time (built-ins, overhead, etc.)  0.001 s50.3%
Totals  0.001 s100% 
Code Analyzer results
Line numberMessage
2'com.mathworks' package and subpackages will be removed in a future release. There is no simple replacement for this.
Coverage results
Show coverage for parent directory
Total lines in function8
Non-code lines (comments, blank lines)1
Code lines (lines that can run)7
Code lines that did run7
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
   1 
function shortname = resolveShortName(shortname)
< 0.001 
      1 
   2
    docConfig = com.mathworks.mlwidgets.help.DocCenterDocConfig.getInstance; 
< 0.001 
      1 
   3
    docSet = docConfig.getDocumentationSet; 
< 0.001 
      1 
   4
    item = docSet.getDocSetItemByShortName(shortname); 
< 0.001 
      1 
   5
    if ~isempty(item) 
< 0.001 
      1 
   6
        shortname = string(item.getShortName); 
< 0.001 
      1 
   7
    end 
< 0.001 
      1 
   8
end 

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