Huh, I didn't know there's a console.time and console.timeEnd methods.
Been using new Date() all along :D.
I don't know if JsPerf uses console.time and console.timeEnd under the hood, but the underlying implementations of the timer method can't be so sophisticated that it'll make a significant impact on the tests between browsers.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Huh, I didn't know there's a
console.time
andconsole.timeEnd
methods.Been using new Date() all along :D.
I don't know if JsPerf uses
console.time
andconsole.timeEnd
under the hood, but the underlying implementations of the timer method can't be so sophisticated that it'll make a significant impact on the tests between browsers.