This is a static copy of a profile reportHome
mapTopic (Calls: 1, Time: 0.161 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/mapTopic.m
Copy to new window for comparing multiple runs
Parents (calling functions)
Lines where the most time was spent
| Line Number | Code | Calls | Total Time | % Time | Time Plot |
| 5 | helpPath = helpTopicMap.mapTop... | 1 | 0.119 s | 73.8% |  |
| 3 | helpTopicMap = matlab.internal... | 1 | 0.037 s | 22.8% |  |
| 7 | end | 1 | 0.005 s | 3.4% |  |
| 4 | if ~isempty(helpTopicMap) | 1 | 0.000 s | 0.0% |  |
| 2 | helpPath = ""; | 1 | 0.000 s | 0.0% |  |
| All other lines | | | 0.000 s | 0.0% |  |
| Totals | | | 0.161 s | 100% | |
Children (called functions)
Code Analyzer results
No Code Analyzer messages.Coverage results
Show coverage for parent directory
| Total lines in function | 7 |
| Non-code lines (comments, blank lines) | 1 |
| Code lines (lines that can run) | 6 |
| Code lines that did run | 6 |
| Code lines that did not run | 0 |
| Coverage (did run/can run) | 100.00 % |
Function listing
time | Calls | line |
|---|
| | 1 | function helpPath = mapTopic(topicPath, topicId)
|
< 0.001 | 1 | 2 | helpPath = "";
|
0.037 | 1 | 3 | helpTopicMap = matlab.internal.doc.csh.HelpTopicMap.fromTopicPath(topicPath);
|
< 0.001 | 1 | 4 | if ~isempty(helpTopicMap)
|
0.119 | 1 | 5 | helpPath = helpTopicMap.mapTopic(topicId);
|
< 0.001 | 1 | 6 | end
|
0.005 | 1 | 7 | end
|
Other subfunctions in this file are not included in this listing.