This is a static copy of a profile report

Home

HelpTopicMap>HelpTopicMap.accessDocLanguage (Calls: 1, Time: 0.005 s)
Generated 18-May-2021 16:05:21 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/helptools/+matlab/+internal/+doc/+csh/HelpTopicMap.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
findDocCatalogFiles>findFilesUnderRootsubfunction1
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
65
docLang = matlab.internal.doc....
10.005 s98.8%
59
persistent lang;
10.000 s0.4%
64
if isempty(lang)
10.000 s0.3%
60
if nargin
10.000 s0.1%
69
end
10.000 s0.1%
All other lines  0.000 s0.4%
Totals  0.005 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
getDocLanguageLocalefunction10.002 s43.5%
Self time (built-ins, overhead, etc.)  0.003 s56.5%
Totals  0.005 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)2
Code lines (lines that can run)10
Code lines that did run7
Code lines that did not run3
Coverage (did run/can run)70.00 %
Function listing
time 
Calls 
 line
  58 
        function docLang = accessDocLanguage(override)
< 0.001 
      1 
  59
            persistent lang; 
< 0.001 
      1 
  60
            if nargin 
  61 
                lang = override;
< 0.001 
      1 
  62
            end 
  63 
            
< 0.001 
      1 
  64
            if isempty(lang) 
  0.005 
      1 
  65
                docLang = matlab.internal.doc.services.getDocLanguageLocale;  
  66 
            else
  67 
                docLang = lang;
< 0.001 
      1 
  68
            end 
< 0.001 
      1 
  69
        end 

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