get time vs unary plus (v6)

Revision 6 of this benchmark created by yigal on


Setup

var now = new Date();

Test runner

Ready to run.

Testing in
TestOps/sec
getTime
var t = now.getTime();
ready
unary plus
var t = +now;
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.