This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...rtOptionsSpreadsheet.getOptsFromSheetclass method2
...ptions>DetectImportOptions.executeclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
28
obj.VariableNamingRule = 'modi...
40.002 s91.3%
30
end
40.000 s0.1%
27
else
40.000 s0.0%
25
if rhs
40.000 s0.0%
29
end
40.000 s0.0%
All other lines  0.000 s8.5%
Totals  0.002 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...ableNamesInput.set.VariableNamingRuleclass method40.001 s55.0%
Self time (built-ins, overhead, etc.)  0.001 s45.0%
Totals  0.002 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 run5
Code lines that did not run1
Coverage (did run/can run)83.33 %
Function listing
time 
Calls 
 line
  24 
        function obj = set.PreserveVariableNames(obj,rhs)
< 0.001 
      4 
  25
            if rhs 
  26 
                obj.VariableNamingRule = 'preserve';
< 0.001 
      4 
  27
            else 
  0.002 
      4 
  28
                obj.VariableNamingRule = 'modify'; 
< 0.001 
      4 
  29
            end 
< 0.001 
      4 
  30
        end 

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