date.now() vs new Date() (v10)

Revision 10 of this benchmark created by ryanve on


Test runner

Ready to run.

Testing in
TestOps/sec
+new Date
+new Date;
ready
Date.now()
Date.now();
ready
(new Date).getTime()
(new Date).getTime();
ready
new Date/1
new Date/1;
ready

Revisions

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