This is a static copy of a profile report

Home

WorkspaceListener>WorkspaceListener.logEvent (Calls: 3, Time: 0.002 s)
Generated 18-May-2021 16:05:14 using performance time.
class method in file /usr/local/MATLAB/R2021a/toolbox/matlab/datatools/datatoolsservices/matlab/+internal/+matlab/+datatoolsservices/WorkspaceListener.m
Copy to new window for comparing multiple runs

Parents (calling functions)

Function NameFunction TypeCalls
...stener.workspaceUpdatedCorrectContextclass method3
Lines where the most time was spent

Line NumberCodeCallsTotal Time% TimeTime Plot
101
if internal.matlab.datatoolsse...
30.001 s60.7%
105
end
30.000 s0.1%
104
end
30 s0%
All other lines  0.001 s39.2%
Totals  0.002 s100% 
Children (called functions)

Function NameFunction TypeCallsTotal Time% TimeTime Plot
...gt;WorkspaceListener.logEventsEnabledclass method30.001 s45.0%
Self time (built-ins, overhead, etc.)  0.001 s55.0%
Totals  0.002 s100% 
Code Analyzer results
Line numberMessage
Coverage results
Show coverage for parent directory
Total lines in function6
Non-code lines (comments, blank lines)1
Code lines (lines that can run)5
Code lines that did run3
Code lines that did not run2
Coverage (did run/can run)60.00 %
Function listing
time 
Calls 
 line
 100 
        function logEvent(str, varargin)
  0.001 
      3 
 101
            if internal.matlab.datatoolsservices.WorkspaceListener.logEventsEnabled 
 102 
                str = sprintf("%s: %s", string(datetime('now', 'Format', 'yyyy-MM-dd HH:mm:ss.SSS')), str);
 103 
                fprintf(str, varargin{:});
      3 
 104
            end 
< 0.001 
      3 
 105
        end 

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