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 compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari
Basic support 2 (Yes) 10.0 (10.0) 11 (Yes) 4.0
Available in workers ? (Yes) 38.0 (38.0) ? ? ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? (Yes) 10.0 (10.0) ? ? ?
Available in workers ? (Yes) 38.0 (38.0) ? ? ?

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