W3cubDocs

/DOM

console.timeEnd

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 compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 2 12 10 11 Yes 4
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support ? ? Yes 10 ? ? ?

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/console/timeEnd