This is a static copy of a profile report

Home

ctorHelper (Calls: 18, Time: 0.010 s)
Generated 16-Jul-2020 17:10:01 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/specgraph/+matlab/+graphics/+chart/+internal/ctorHelper.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
Surface.Surface>Surface.Surfaceclass method2
Legend.Legend>Legend.Legendclass method16
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
11
set(obj, pvpairs{:});
20.008 s85.3%
12
end
180.000 s2.9%
10
elseif ~isempty(pvpairs)
180.000 s1.4%
6
if isstruct(pvpairs) &&...
180.000 s0.2%
19
end
180.000 s0.1%
All other lines  0.001 s10.0%
Totals  0.010 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...>Surface.doSetup/localZDataChangednested function20.002 s17.2%
...@(obj,evd)(hObj.sendDataChangedEvent)anonymous function60.001 s9.0%
...Surface.doSetup/localXDataModeChangednested function20.001 s7.8%
...Surface.doSetup/localYDataModeChangednested function20.001 s5.8%
Self time (built-ins, overhead, etc.)  0.006 s60.2%
Totals  0.010 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function19
Non-code lines (comments, blank lines)6
Code lines (lines that can run)13
Code lines that did run8
Code lines that did not run5
Coverage (did run/can run)61.54 %
Function listing
time 
Calls 
 line
   1 
function ctorHelper(obj, pvpairs)
   2 
%
   3 

   4 
%   Copyright 2014-2015 The MathWorks, Inc.
< 0.001 
     18 
   5
try 
< 0.001 
     18 
   6
    if isstruct(pvpairs) && isa(obj,'matlab.graphics.chart.internal.ChartBaseProxy') 
   7 
        set(obj, pvpairs);
< 0.001 
     18 
   8
    elseif isscalar(pvpairs) 
   9 
        error(message('MATLAB:class:BadParamValuePairs'))
< 0.001 
     18 
  10
    elseif ~isempty(pvpairs) 
  0.008 
      2 
  11
        set(obj, pvpairs{:}); 
< 0.001 
     18 
  12
    end 
  13 
catch e
  14 
    % Clean the zombie chart out of the tree
  15 
    obj.Parent = [];
  16 
    throwAsCaller(e);
< 0.001 
     18 
  17
end 
  18 

< 0.001 
     18 
  19
end 

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