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
| Function Name | Function Type | Calls |
| ...p>HelpTopicMap.retrieveHelpTargets | class method | 1 |
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 2 | files = findFilesUnderRoot(doc... | 1 | 0.023 s | 58.7% | |
| 3 | spkgDocroot = matlab.internal.... | 1 | 0.016 s | 41.1% | |
| 4 | if ~isempty(spkgDocroot) | 1 | 0.000 s | 0.1% | |
| 8 | end | 1 | 0.000 s | 0.0% | |
| 7 | end | 1 | 0.000 s | 0.0% | |
| All other lines | 0.000 s | 0.0% | |||
| Totals | 0.039 s | 100% |
| Function Name | Function Type | Calls | Total Time | % Time | Time Plot |
| findDocCatalogFiles>findFilesUnderRoot | subfunction | 1 | 0.021 s | 53.7% | |
| getSupportPackageDocRoot | function | 1 | 0.015 s | 37.3% | |
| docroot | function | 1 | 0.002 s | 4.7% | |
| Self time (built-ins, overhead, etc.) | 0.002 s | 4.3% | |||
| Totals | 0.039 s | 100% |
| Total lines in function | 8 |
| Non-code lines (comments, blank lines) | 1 |
| Code lines (lines that can run) | 7 |
| Code lines that did run | 5 |
| Code lines that did not run | 2 |
| Coverage (did run/can run) | 71.43 % |
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.