Optional
elapsedThe elapsed time measured, if it has been stopped and measured, or NaN
if the platform disabled
performance measurement.
The measurement name. This may show up in the performance measurement framework appropriate to the application context.
Compute the elapsed time and log a message annotated with that timing information. The message is logged at the level determined by the MeasurementOptions.
a message detailing what activity was measured
Rest
...optionalArgs: any[]optional message arguments as per the usual console API
A
Measurement
counts the time elapsed between its creation when the Stopwatch is started and when it is stopped.