This is a static copy of a profile report

Home

SpreadsheetInputs>SpreadsheetInputs.set.VariableNamesRange (Calls: 2, Time: 0.034 s)
Generated 04-Jun-2021 04:11:22 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\shared\io\general\+matlab\+io\+internal\+shared\SpreadsheetInputs.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...rtOptionsSpreadsheet.getOptsFromSheetclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
144
obj.VariableNamesRange = valid...
20.034 s99.3%
148
end
20.000 s0.0%
147
end
20.000 s0.0%
143
try
20.000 s0.0%
All other lines  0.000 s0.7%
Totals  0.034 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...t;SpreadsheetImportOptions.getNumVarsclass method20.031 s92.5%
SpreadsheetInputs>validateRangeclass method20.002 s4.9%
Self time (built-ins, overhead, etc.)  0.001 s2.6%
Totals  0.034 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)1
Code lines (lines that can run)6
Code lines that did run4
Code lines that did not run2
Coverage (did run/can run)66.67 %
Function listing
time 
Calls 
 line
 142 
        function obj = set.VariableNamesRange(obj,rhs)
< 0.001 
      2 
 143
        try 
  0.034 
      2 
 144
            obj.VariableNamesRange = validateRange(rhs,'VariableNamesRange',@SingleRecordNumVars,obj.getNumVars()); 
 145 
        catch ME
 146 
            throwAsCaller(ME);
< 0.001 
      2 
 147
        end 
< 0.001 
      2 
 148
        end 

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