This is a static copy of a profile report

Home

PeerModelManagerHelper>PeerModelManagerHelper.isViewModel (Calls: 333, Time: 0.016 s)
Generated 18-May-2021 16:05:15 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/shared/viewmodel/viewmodel/+viewmodel/+internal/+factory/PeerModelManagerHelper.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...gt;ManagerFactoryProducer.isPeerModelclass method333
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
35
isVM = (PeerModelManagerHelper...
3330.008 s52.2%
36
PeerModelManagerHelper.isViewM...
3330.007 s42.9%
38
end
3330.000 s0.8%
All other lines  0.001 s4.1%
Totals  0.016 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...rModelManagerHelper.isViewModelObjectclass method3330.007 s44.8%
...ModelManagerHelper.isViewModelManagerclass method3330.005 s35.0%
Self time (built-ins, overhead, etc.)  0.003 s20.2%
Totals  0.016 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function7
Non-code lines (comments, blank lines)4
Code lines (lines that can run)3
Code lines that did run3
Code lines that did not run0
Coverage (did run/can run)100.00 %
Function listing
time 
Calls 
 line
  32 
        function isVM = isViewModel(viewModelObject)
  33 
            import viewmodel.internal.factory.PeerModelManagerHelper;
  34 
            
  0.015 
    333 
  35
            isVM = (PeerModelManagerHelper.isViewModelObject(viewModelObject) || ... 
    333 
  36
                    PeerModelManagerHelper.isViewModelManager(viewModelObject) ... 
  37 
                    );
< 0.001 
    333 
  38
        end 

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