Stops a timer that was previously started by calling console.time().

See Timers in the documentation for details and examples.

Note: This feature is available in Web Workers.

Syntax

console.timeEnd(label);

Parameters

label
The name of the timer to stop. Once stopped, the elapsed time is automatically displayed in the Web Console.

Specifications

Specification Status Comment
Console API
The definition of 'console.timeEnd()' in that specification.
Living Standard Initial definition

Browser compatibility

FeatureChromeEdgeFirefoxInternet ExplorerOperaSafari
Basic support2121011 Yes4
FeatureAndroid webviewChrome for AndroidEdge mobileFirefox for AndroidOpera AndroidiOS SafariSamsung Internet
Basic support ? ? Yes10 ? ? ?

See also