console.timeEnd(label)
Used to finish the timer started by time(label) method. This method accepts the name of the timer started and prints the output.
Parameters | Description |
---|---|
label | The name of the timer to end. |
Example
console.time("calculations");
var url = "https://www.google.com/#q=hello+world"; // REST API URL
var XHRResponse = XHR2.send("GET", url, {});
console.timeEnd("calculations");
7/11/2016, 10:16:28 AM: calculations: 459ms