Date.now-polyfill

Benchmark created on


Setup

Date.foo = function(){
      return new Date().getTime();
    }

Test runner

Ready to run.

Testing in
TestOps/sec
Now
x = Date.now();
ready
Coercion
x = +new Date;
ready
Polyfill
x = Date.foo();
ready

Revisions

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