This is a static copy of a profile report

Home

Legend.doMethod (Calls: 248, Time: 1.320 s)
Generated 16-Jul-2020 17:09:03 using performance time.
function in file /Applications/MATLAB_R2020a.app/toolbox/matlab/scribe/+matlab/+graphics/+illustration/@Legend/doMethod.p
Copy to new window for comparing multiple runs

This is a P-file for which there is no corresponding MATLAB code file

Parents (calling functions)

Function NameFunction TypeCalls
Legend.doSetupfunction32
Legend.getPreferredSizefunction46
Legend.doMethod>getsizesubfunction68
Legend.doUpdatefunction66
Legend.doMethod>layoutEntriessubfunction22
...me)h.doMethod('printcallback',cbname)anonymous function14
Lines where the most time was spent
No MATLAB code to display
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
Legend.doMethod>createEntriessubfunction80.552 s41.8%
Legend.doMethod>getsizeinfosubfunction680.285 s21.6%
Legend.doMethod>layoutEntriessubfunction220.210 s15.9%
Legend.doMethod>pushLegendPropsToLabelssubfunction220.183 s13.9%
Legend.doMethod>createDefaultContextMenusubfunction160.031 s2.3%
Legend.doMethod>printcallbacksubfunction140.009 s0.7%
Legend.doMethod>syncEntriessubfunction140.009 s0.7%
Legend.doMethod>getsizesubfunction680.004 s0.3%
Legend.doMethod>setButtonDownFcnsubfunction160.002 s0.2%
Self time (built-ins, overhead, etc.)  0.034 s2.6%
Totals  1.320 s100% 
Code Analyzer results
No MATLAB code to display
Coverage results
No MATLAB code to display
Function listing
No MATLAB code to display