This is a static copy of a profile report

Home

SpreadsheetImportOptions.SpreadsheetImportOptions>SpreadsheetImportOptions.SpreadsheetImportOptions (Calls: 2, Time: 0.012 s)
Generated 04-Jun-2021 04:11:18 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\io\spreadsheet\+matlab\+io\+spreadsheet\@SpreadsheetImportOptions\SpreadsheetImportOptions.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
90
[opts,otherArgs] = opts.parseI...
20.009 s71.2%
92
opts.assertNoAdditionalParamet...
20.001 s4.3%
93
end
20.000 s0.3%
All other lines  0.003 s24.3%
Totals  0.012 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...gt;HasPropertiesAsNVPairs.parseInputsclass method20.008 s68.4%
...ptions>ImportOptions.ImportOptionsclass method20.002 s14.0%
...t;SpreadsheetInputs.SpreadsheetInputsclass method20.000 s4.0%
...sNVPairs.assertNoAdditionalParametersclass method20.000 s1.2%
Self time (built-ins, overhead, etc.)  0.002 s12.4%
Totals  0.012 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)6
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  85 
        function opts = SpreadsheetImportOptions(varargin)
  86 
        % If present, VariableNames needs to be parsed early since others
  87 
        % depend on the number of variables.
  88 
        % If present, PreserveVariableNames needs to be parsed earlier
  89 
        % than VariableNames since it is necessary for validation.
  0.009 
      2 
  90
            [opts,otherArgs] = opts.parseInputs(varargin, ... 
  91 
                                                {'NumVariables','VariableOptions','PreserveVariableNames','VariableNames'});
< 0.001 
      2 
  92
            opts.assertNoAdditionalParameters(fields(otherArgs),class(opts)); 
< 0.001 
      2 
  93
        end 

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