get time vs unary plus

Benchmark created 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

Revisions

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