This is a static copy of a profile report

Home

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

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
2
files = findFilesUnderRoot(doc...
10.023 s58.7%
3
spkgDocroot = matlab.internal....
10.016 s41.1%
4
if ~isempty(spkgDocroot)
10.000 s0.1%
8
end
10.000 s0.0%
7
end
10.000 s0.0%
All other lines  0.000 s0.0%
Totals  0.039 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
findDocCatalogFiles>findFilesUnderRootsubfunction10.021 s53.7%
getSupportPackageDocRootfunction10.015 s37.3%
docrootfunction10.002 s4.7%
Self time (built-ins, overhead, etc.)  0.002 s4.3%
Totals  0.039 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 run5
Code lines that did not run2
Coverage (did run/can run)71.43 %
Function listing
time 
Calls 
 line
   1 
function files = findDocCatalogFiles(catalogFolder, shortname)
  0.023 
      1 
   2
    files = findFilesUnderRoot(docroot, catalogFolder, shortname); 
  0.016 
      1 
   3
    spkgDocroot = matlab.internal.doc.services.getSupportPackageDocRoot; 
< 0.001 
      1 
   4
    if ~isempty(spkgDocroot) 
   5 
        spkgFiles = findFilesUnderRoot(spkgDocroot, catalogFolder, shortname);
   6 
        files = [files spkgFiles];
< 0.001 
      1 
   7
    end 
< 0.001 
      1 
   8
end 

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