get time vs unary plus (v3)

Revision 3 of this benchmark created by fuf on


Setup

var now = new Date();

Test runner

Ready to run.

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

Revisions

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