This is a static copy of a profile report

Home

getExtendedErrorCallback (Calls: 1, Time: 0.177 s)
Generated 18-May-2021 16:05:18 using performance time.
function in file /usr/local/MATLAB/R2021a/toolbox/matlab/general/+matlab/+internal/+language/+introspective/getExtendedErrorCallback.m
Copy to new window for comparing multiple runs

Parents (calling functions)
No parent
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
6
path = matlab.internal.doc.csh...
10.168 s94.9%
4
[shortname, topicId] = matlab....
10.007 s4.1%
3
if usejava('jvm')
10.001 s0.7%
7
if path ~= ""
10.000 s0.2%
2
errorCallback = strings(0);
10.000 s0.1%
All other lines  0.000 s0.1%
Totals  0.177 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
mapTopicfunction10.161 s91.0%
getDocAnchorForErrorIDfunction10.002 s0.9%
usejavafunction10.001 s0.5%
Self time (built-ins, overhead, etc.)  0.013 s7.6%
Totals  0.177 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)1
Code lines (lines that can run)11
Code lines that did run10
Code lines that did not run1
Coverage (did run/can run)90.91 %
Function listing
time 
Calls 
 line
   1 
function errorCallback = getExtendedErrorCallback(errorId)
< 0.001 
      1 
   2
    errorCallback = strings(0); 
  0.001 
      1 
   3
    if usejava('jvm') 
  0.007 
      1 
   4
        [shortname, topicId] = matlab.internal.doc.csh.getDocAnchorForErrorID(errorId); 
< 0.001 
      1 
   5
        if ~ismissing(shortname) 
  0.168 
      1 
   6
            path = matlab.internal.doc.csh.mapTopic(shortname, topicId); 
< 0.001 
      1 
   7
            if path ~= "" 
   8 
                errorCallback = "helpview('" + shortname + "','" + topicId + "')";
< 0.001 
      1 
   9
            end 
< 0.001 
      1 
  10
        end 
< 0.001 
      1 
  11
    end 
< 0.001 
      1 
  12
end 

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