Create a new execution tracker
Tracker configuration options
Sync time (ms) from which detailed output flags event-loop blocking; 0 disables
When false, tracked functions just call through (no timing at all)
Replaces console output for reported trees (null = default console tree)
Per-label statistics (null when disabled)
End timing a function execution
ID of the execution to end
Optionalresult: any
Result of the function
Error if the function threw
Execution data
Mark the end of the synchronous part of an execution that returned a promise
Reset the tracker state
Start a manually-ended execution (a "span"). Use run() to execute code
as part of it, so tracked calls inside attach as children, and end()
when the work is finished.
Start timing a function execution
Function name or label
ID of parent execution if nested
Additional options
Execution ID
Register a plugin. Returns a function that removes it again.
Optimized tracker for individual function executions