This is a static copy of a profile report

Home

PrintBehavior>PrintBehavior.dosupport (Calls: 16, Time: 0.002 s)
Generated 16-Jul-2020 17:09:27 using performance time.
class method in file /Applications/MATLAB_R2020a.app/toolbox/matlab/graphics/+matlab/+graphics/+internal/PrintBehavior.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
hggetbehavior>localGetsubfunction16
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
56
ishghandle(hTarget, 'Legend') ...
160.000 s21.0%
52
ret = ishghandle(hTarget, 'Fig...
160.000 s20.9%
53
ishghandle(hTarget, 'Axes') ||...
160.000 s13.4%
54
ishghandle(hTarget, 'polaraxes...
160.000 s11.1%
55
ishghandle(hTarget, 'geoaxes')...
160.000 s10.3%
All other lines  0.000 s23.2%
Totals  0.002 s100% 
Children (called functions)
No children
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function16
Non-code lines (comments, blank lines)3
Code lines (lines that can run)13
Code lines that did run6
Code lines that did not run7
Coverage (did run/can run)46.15 %
Function listing
time 
Calls 
 line
  50 
    function ret = dosupport(~,hTarget)
  51 
        % only allowed on Figure, Axes, and ScribeGrid
  0.001 
     16 
  52
        ret = ishghandle(hTarget, 'Figure') || ... 
     16 
  53
            ishghandle(hTarget, 'Axes') || ... 
     16 
  54
            ishghandle(hTarget, 'polaraxes') || ... 
     16 
  55
            ishghandle(hTarget, 'geoaxes') || ... 
     16 
  56
            ishghandle(hTarget, 'Legend') || ... 
  57 
            (ishghandle(hTarget) && ...
  58 
            (isa(hTarget, 'matlab.graphics.shape.internal.ScribeGrid') || ...
  59 
            isa(hTarget, 'matlab.graphics.chart.Chart') || ...
  60 
            isa(hTarget, 'matlab.graphics.controls.AxesToolbar') || ...
  61 
            isa(hTarget, 'bigimageshow') || ...
  62 
            isa(hTarget, 'matlab.graphics.shape.internal.PointDataTip')) || ...
  63 
            isa(hTarget, 'matlab.graphics.primitive.world.CompositeMarker'));
  64 
            
< 0.001 
     16 
  65
    end 

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