This is a static copy of a profile report

Home

fullfile>ensureTrailingFilesep (Calls: 1942, Time: 0.036 s)
Generated 16-Jul-2020 17:08:26 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
fullfilefunction1942
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
118
f = addTrailingFileSep(f,fileS...
19420.028 s76.9%
120
end
19420.001 s1.6%
119
end
19420.001 s1.4%
117
else
19420.000 s1.0%
113
if iscell(f)
19420.000 s0.7%
All other lines  0.007 s18.4%
Totals  0.036 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
fullfile>addTrailingFileSepsubfunction19420.021 s59.3%
Self time (built-ins, overhead, etc.)  0.015 s40.7%
Totals  0.036 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 
   1942 
 113
    if iscell(f) 
 114 
        for i=1:numel(f)
 115 
            f{i} = addTrailingFileSep(f{i},fileSeparator);
 116 
        end
< 0.001 
   1942 
 117
    else 
  0.028 
   1942 
 118
        f = addTrailingFileSep(f,fileSeparator); 
< 0.001 
   1942 
 119
    end 
< 0.001 
   1942 
 120
end 

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