Date.now vs Date.getTime (v12)

Revision 12 of this benchmark created by Tj on


Test runner

Ready to run.

Testing in
TestOps/sec
Date.now();
var foo = Date.now();
ready
Date.getTime()
var foo = new Date().getTime();
ready
+new Date
var foo = +new Date;
ready

Revisions

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