Web browser built-in timer Feb 6, 2018 Modern browsers have a built-in timer feature that can help you debugging your code. The API is composed of two functions: console.time() : start a timer console.timeEnd() : end a timer and print time spent Documentation on Mozilla Developer Network