This is a static copy of a profile report

Home

DetectImportOptions>getSuppliedProperties (Calls: 4, Time: 0.001 s)
Generated 04-Jun-2021 04:11:23 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\io\functions\+matlab\+io\+internal\+functions\DetectImportOptions.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...;DetectImportOptions.setVariablePropsclass method4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
234
if supplied.(props(i))
160.000 s26.9%
237
end
160.000 s22.1%
233
for i = 1:numel(props)
40.000 s20.9%
232
suppliedProperties = string.em...
40.000 s15.4%
238
end
40.000 s0.3%
All other lines  0.000 s14.4%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function8
Non-code lines (comments, blank lines)1
Code lines (lines that can run)7
Code lines that did run6
Code lines that did not run1
Coverage (did run/can run)85.71 %
Function listing
time 
Calls 
 line
 231 
function suppliedProperties = getSuppliedProperties(props, supplied)
< 0.001 
      4 
 232
suppliedProperties = string.empty; 
< 0.001 
      4 
 233
for i = 1:numel(props) 
< 0.001 
     16 
 234
    if supplied.(props(i)) 
 235 
        suppliedProperties(end + 1) = props(i);  %#ok<AGROW>
< 0.001 
     16 
 236
    end 
< 0.001 
     16 
 237
end 
< 0.001 
      4 
 238
end 

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