This is a static copy of a profile report

Home

fullfile>ensureTrailingFilesep (Calls: 1518, Time: 0.038 s)
Generated 18-Jul-2020 08:10:33 using performance time.
subfunction in file /Applications/MATLAB_R2020a.app/toolbox/matlab/iofun/fullfile.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
fullfilefunction1518
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
118
f = addTrailingFileSep(f,fileS...
15180.030 s78.7%
120
end
15180.001 s1.7%
113
if iscell(f)
15180.000 s1.0%
117
else
15180.000 s0.6%
119
end
15180.000 s0.3%
All other lines  0.007 s17.7%
Totals  0.038 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
fullfile>addTrailingFileSepsubfunction15180.024 s61.6%
Self time (built-ins, overhead, etc.)  0.015 s38.4%
Totals  0.038 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)1
Code lines (lines that can run)8
Code lines that did run5
Code lines that did not run3
Coverage (did run/can run)62.50 %
Function listing
time 
Calls 
 line
 112 
function f = ensureTrailingFilesep(f,fileSeparator)
< 0.001 
   1518 
 113
    if iscell(f) 
 114 
        for i=1:numel(f)
 115 
            f{i} = addTrailingFileSep(f{i},fileSeparator);
 116 
        end
< 0.001 
   1518 
 117
    else 
  0.030 
   1518 
 118
        f = addTrailingFileSep(f,fileSeparator); 
< 0.001 
   1518 
 119
    end 
< 0.001 
   1518 
 120
end 

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