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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidEdge MobileFirefox for AndroidOpera for AndroidiOS SafariSamsung Internet
Basic supportChrome Full support 2Edge Full support 12Firefox Full support 10IE Full support 11Opera Full support YesSafari Full support 4WebView Android ? Chrome Android ? Edge Mobile Full support YesFirefox Android Full support 10Opera Android ? Safari iOS ? Samsung Internet Android ?

Legend

Full support  
Full support
Compatibility unknown  
Compatibility unknown

See also