This is a static copy of a profile report

Home

ReadTableWithImportOptions>ReadTableWithImportOptions.executeImpl (Calls: 2, Time: 0.151 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
...eWithImportOptionsSpreadsheet.executeclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
24
[T,func] = func.executeImpl@ma...
20.151 s99.6%
21
if isa(func.Options,'matlab.io...
20.000 s0.1%
29
if supplied.CollectOutput &...
20.000 s0.1%
23
elseif isa(func.Options,'matla...
20.000 s0.1%
32
end
20.000 s0.0%
All other lines  0.000 s0.1%
Totals  0.151 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...hImportOptionsSpreadsheet.executeImplclass method20.150 s99.3%
Self time (built-ins, overhead, etc.)  0.001 s0.7%
Totals  0.151 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function13
Non-code lines (comments, blank lines)2
Code lines (lines that can run)11
Code lines that did run7
Code lines that did not run4
Coverage (did run/can run)63.64 %
Function listing
time 
Calls 
 line
  20 
        function [T,func] = executeImpl(func,supplied)
< 0.001 
      2 
  21
            if isa(func.Options,'matlab.io.text.TextImportOptions') 
  22 
                [T,func] = func.executeImpl@matlab.io.internal.functions.ReadTableWithImportOptionsText(supplied);
< 0.001 
      2 
  23
            elseif isa(func.Options,'matlab.io.spreadsheet.SpreadsheetImportOptions') 
  0.151 
      2 
  24
                [T,func] = func.executeImpl@matlab.io.internal.functions.ReadTableWithImportOptionsSpreadsheet(supplied); 
  25 
            else
  26 
                assert(false);
< 0.001 
      2 
  27
            end 
  28 
            
< 0.001 
      2 
  29
            if supplied.CollectOutput && func.CollectOutput 
  30 
                T = matlab.io.text.internal.collectTableOutput(T);
< 0.001 
      2 
  31
            end 
< 0.001 
      2 
  32
        end 

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