This is a static copy of a profile report

Home

FigureController>FigureController.commitPropertyChanges (Calls: 333, Time: 0.037 s)
Generated 18-May-2021 16:05:15 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/uitools/uicomponents/components/+matlab/+ui/+internal/+controller/FigureController.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...er>FigureController.flushCoalescerclass method333
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
685
if matlab.ui.internal.componen...
3330.022 s59.6%
688
this.PeerModelInfo.PeerModelMa...
3330.011 s28.2%
684
if ~isempty(this.PeerModelInfo...
3330.004 s9.5%
691
end
3330.000 s0.8%
687
else
3330.000 s0.1%
All other lines  0.001 s1.9%
Totals  0.037 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...t;WebEventHandlingService.isPeerModelclass method3330.020 s53.3%
Self time (built-ins, overhead, etc.)  0.017 s46.7%
Totals  0.037 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function12
Non-code lines (comments, blank lines)4
Code lines (lines that can run)8
Code lines that did run7
Code lines that did not run1
Coverage (did run/can run)87.50 %
Function listing
time 
Calls 
 line
 680 
        function commitPropertyChanges(this)
 681 
            % It's possible that PeerModelInfo has not been set yet. If
 682 
            % that's the case, then there is no synchronizer, and therefore
 683 
            % no coalescer to flush.
  0.004 
    333 
 684
            if ~isempty(this.PeerModelInfo) 
  0.022 
    333 
 685
                if matlab.ui.internal.componentframework.services.core.eventhandling.WebEventHandlingService.isPeerModel(this.PeerModelInfo.PeerModelManager) 
 686 
                    this.PeerModelInfo.Synchronizer.flushCoalescer;
< 0.001 
    333 
 687
                else 
  0.011 
    333 
 688
                    this.PeerModelInfo.PeerModelManager.manualCommit; 
< 0.001 
    333 
 689
                end 
< 0.001 
    333 
 690
            end 
< 0.001 
    333 
 691
        end 

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