This is a static copy of a profile report

Home

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

Parents (calling functions)

Function NameFunction TypeCalls
...rintEnhanceTextures.needEnhanceOutputclass method2
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
68
doEnhance = cellfun(@(x) size(...
20.001 s65.0%
67
cdata = get(objects, {'CData'}...
20.000 s14.6%
70
end
20.000 s0.4%
69
res = any(doEnhance);
20.000 s0.0%
All other lines  0.000 s20.0%
Totals  0.002 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...m>@(x)size(x,1)*size(x,2)<limitanonymous function20.000 s20.7%
Self time (built-ins, overhead, etc.)  0.002 s79.3%
Totals  0.002 s100% 
Code Analyzer results
No Code Analyzer messages.
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)3
Code lines (lines that can run)4
Code lines that did run4
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  64 
        function res = isTexturesUnderLimit(~, objects, limit)
  65 
            % Check whether texture size is under given limit
  66 
            
< 0.001 
      2 
  67
            cdata = get(objects, {'CData'}); 
  0.001 
      2 
  68
            doEnhance = cellfun(@(x) size(x,1)*size(x,2) < limit, cdata, 'Uniform', true); 
< 0.001 
      2 
  69
            res = any(doEnhance); 
< 0.001 
      2 
  70
        end 

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