This is a static copy of a profile report

Home

table.table>table.cloneAsEmpty (Calls: 70595, Time: 1.728 s)
Generated 04-Jun-2021 04:11:18 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\tabular\@table\table.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
tabular.subsrefParensfunction70595
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
448
b = table();
705951.648 s95.4%
457
end
705950.009 s0.5%
All other lines  0.071 s4.1%
Totals  1.728 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
table.table>table.tableclass method705950.917 s53.1%
Self time (built-ins, overhead, etc.)  0.811 s46.9%
Totals  1.728 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function13
Non-code lines (comments, blank lines)11
Code lines (lines that can run)2
Code lines that did run2
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
 445 
        function b = cloneAsEmpty(a) %#ok<MANU>
 446 
            %CLONEASEMPTY Create a new empty table from an existing one.
 447 
%             if strcmp(class(a),'table') %#ok<STISA>
  1.648 
  70595 
 448
                b = table(); 
 449 
%             else % b is a subclass of table
 450 
%                 b = a; % respect the subclass
 451 
%                 % leave b.metaDim alone
 452 
%                 b.rowDim = b.rowDim.shortenTo(0);
 453 
%                 b.varDim = b.varDim.shortenTo(0);
 454 
%                 b.data = cell(1,0);
 455 
%                 leave b.arrayProps alone
 456 
%             end
  0.009 
  70595 
 457
        end 

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