get time vs unary plus (v10)

Revision 10 of this benchmark created by jtolley on


Test runner

Ready to run.

Testing in
TestOps/sec
getTime
var t = (new Date()).getTime();
ready
unary +
var t = +new Date();
ready
Date.now (IE 9)
var t = Date.now();
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.