This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
findDocCatalogFilesfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
2
spkgRoot = matlabshared.suppor...
10.014 s99.2%
6
spkgDocroot = string.empty;
10.000 s0.5%
3
if ~isempty(spkgRoot)
10.000 s0.2%
8
end
10.000 s0.0%
5
else
10.000 s0.0%
All other lines  0.000 s0.1%
Totals  0.015 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
getSupportPackageRootfunction10.014 s98.7%
Self time (built-ins, overhead, etc.)  0.000 s1.3%
Totals  0.015 s100% 
Code Analyzer results
No Code Analyzer messages.
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 run6
Code lines that did not run1
Coverage (did run/can run)85.71 %
Function listing
time 
Calls 
 line
   1 
function spkgDocroot = getSupportPackageDocRoot
  0.014 
      1 
   2
    spkgRoot = matlabshared.supportpkg.getSupportPackageRoot; 
< 0.001 
      1 
   3
    if ~isempty(spkgRoot) 
   4 
        spkgDocroot = fullfile(string(spkgRoot),"help");
< 0.001 
      1 
   5
    else 
< 0.001 
      1 
   6
        spkgDocroot = string.empty; 
< 0.001 
      1 
   7
    end 
< 0.001 
      1 
   8
end