This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...gt;HasPropertiesAsNVPairs.parseInputsclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
250
obj.fast_var_opts = matlab.io....
20.004 s93.0%
251
end
20.000 s0.0%
246
if ~isnumeric(rhs) || ~isscala...
20.000 s0.0%
248
end
20.000 s0.0%
All other lines  0.000 s7.0%
Totals  0.004 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
FastVarOpts>FastVarOpts.FastVarOptsclass method20.003 s76.8%
Self time (built-ins, overhead, etc.)  0.001 s23.2%
Totals  0.004 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function8
Non-code lines (comments, blank lines)3
Code lines (lines that can run)5
Code lines that did run4
Code lines that did not run1
Coverage (did run/can run)80.00 %
Function listing
time 
Calls 
 line
 244 
        function obj = set.NumVariables(obj,rhs)
 245 
        % Expect a non-negative scalar integer
< 0.001 
      2 
 246
            if ~isnumeric(rhs) || ~isscalar(rhs) || floor(rhs) ~= rhs || rhs < 0 || isinf(rhs) 
 247 
                error(message('MATLAB:textio:textio:ExpectedScalarInt'));
< 0.001 
      2 
 248
            end 
 249 

  0.004 
      2 
 250
            obj.fast_var_opts = matlab.io.internal.FastVarOpts(rhs); 
< 0.001 
      2 
 251
        end 

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