This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
varNamesDim>varNamesDim.assignIntoclass method4
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
156
obj.labels(assignInto) = obj2....
40.000 s45.1%
155
if obj.hasLabels && ob...
40.000 s32.0%
165
end
40.000 s0.3%
164
end
40.000 s0.0%
All other lines  0.000 s22.6%
Totals  0.001 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)2
Code lines (lines that can run)10
Code lines that did run4
Code lines that did not run6
Coverage (did run/can run)40.00 %
Function listing
time 
Calls 
 line
 154 
        function obj = assignInto(obj,obj2,assignInto)
< 0.001 
      4 
 155
            if obj.hasLabels && obj2.hasLabels 
< 0.001 
      4 
 156
                obj.labels(assignInto) = obj2.labels; 
 157 
            elseif obj.hasLabels % && ~obj2.hasLabels
 158 
                % These are invalid empty labels that must be filled in later.
 159 
                obj.labels(assignInto) = obj2.emptyLabels(obj2.length);
 160 
            elseif obj2.hasLabels % && ~obj.hasLabels
 161 
                obj.labels = obj.emptyLabels(obj.length);
 162 
                obj.labels(assignInto) = obj2.labels;
 163 
                obj.hasLabels = true;
< 0.001 
      4 
 164
            end 
< 0.001 
      4 
 165
        end 

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