This is a static copy of a profile report

Home

tabular.lengthenTo (Calls: 785, Time: 0.003 s)
Generated 04-Jun-2021 04:11:25 using performance time.
function in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\tabular\@tabular\lengthenTo.m
Copy to new window for comparing multiple runs

Parents (calling functions)

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

Line NumberCodeCallsTotal Time% TimeTime Plot
7
if size(t.data{j},1) < newL...
7850.001 s35.3%
6
for j = 1:t.varDim.length
7850.001 s22.6%
10
end
7850.000 s8.4%
9
end
7850.000 s1.1%
All other lines  0.001 s32.7%
Totals  0.003 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function10
Non-code lines (comments, blank lines)5
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
   1 
function t = lengthenTo(t,newLen)
   2 
% LENGTHEN Lengthen variables in a table that are too short.
   3 

   4 
%   Copyright 2012-2016 The MathWorks, Inc.
   5 

< 0.001 
    785 
   6
for j = 1:t.varDim.length 
  0.001 
    785 
   7
    if size(t.data{j},1) < newLen 
   8 
        t.data{j} = t.lengthenVar(t.data{j}, newLen);
< 0.001 
    785 
   9
    end 
< 0.001 
    785 
  10
end