This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
ReadTable>ReadTable.executeclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
38
T = func.execute@matlab.io.int...
20.152 s99.7%
35
if isa(func.Options,'matlab.io...
20.000 s0.1%
37
elseif isa(func.Options,'matla...
20.000 s0.1%
42
end
20.000 s0.0%
41
end
20.000 s0.0%
All other lines  0.000 s0.1%
Totals  0.153 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...eWithImportOptionsSpreadsheet.executeclass method20.152 s99.5%
Self time (built-ins, overhead, etc.)  0.001 s0.5%
Totals  0.153 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function9
Non-code lines (comments, blank lines)1
Code lines (lines that can run)8
Code lines that did run5
Code lines that did not run3
Coverage (did run/can run)62.50 %
Function listing
time 
Calls 
 line
  34 
        function T = execute(func,supplied)
< 0.001 
      2 
  35
            if isa(func.Options,'matlab.io.text.TextImportOptions') 
  36 
                T = func.execute@matlab.io.internal.functions.ReadTableWithImportOptionsText(supplied);
< 0.001 
      2 
  37
            elseif isa(func.Options,'matlab.io.spreadsheet.SpreadsheetImportOptions') 
  0.152 
      2 
  38
                T = func.execute@matlab.io.internal.functions.ReadTableWithImportOptionsSpreadsheet(supplied); 
  39 
            else
  40 
                assert(false);
< 0.001 
      2 
  41
            end 
< 0.001 
      2 
  42
        end 

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