This is a static copy of a profile report

Home

varNamesDim>varNamesDim.createLike (Calls: 12, Time: 0.017 s)
Generated 04-Jun-2021 04:11:17 using performance time.
class method in file C:\Program Files\MATLAB\R2020b\toolbox\matlab\datatypes\tabular\+matlab\+internal\+tabular\+private\varNamesDim.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
tabular.tabular>tabular.initInternalsclass method10
tabular.horzcatfunction2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
89
obj = obj.createLike@matlab.in...
100.014 s80.1%
87
obj = obj.createLike@matlab.in...
20.002 s11.0%
98
obj.customProps = struct;
120.000 s2.6%
92
obj.units = {};
120.000 s0.5%
91
obj.hasUnits = false;
120.000 s0.5%
All other lines  0.001 s5.4%
Totals  0.017 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...ension>tabularDimension.createLikeclass method120.015 s88.7%
Self time (built-ins, overhead, etc.)  0.002 s11.3%
Totals  0.017 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function15
Non-code lines (comments, blank lines)1
Code lines (lines that can run)14
Code lines that did run14
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  85 
        function obj = createLike(obj,dimLength,dimLabels)
< 0.001 
     12 
  86
            if nargin < 3 
  0.002 
      2 
  87
                obj = obj.createLike@matlab.internal.tabular.private.tabularDimension(dimLength); 
< 0.001 
     10 
  88
            else 
  0.014 
     10 
  89
                obj = obj.createLike@matlab.internal.tabular.private.tabularDimension(dimLength,dimLabels); 
< 0.001 
     12 
  90
            end 
< 0.001 
     12 
  91
            obj.hasUnits = false; 
< 0.001 
     12 
  92
            obj.units = {}; 
< 0.001 
     12 
  93
            obj.hasDescrs = false; 
< 0.001 
     12 
  94
            obj.descrs = {}; 
< 0.001 
     12 
  95
            obj.hasContinuity = false; 
< 0.001 
     12 
  96
            obj.continuity =  []; 
< 0.001 
     12 
  97
            obj.hasCustomProps = false; 
< 0.001 
     12 
  98
            obj.customProps = struct; 
< 0.001 
     12 
  99
        end 

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