Fastest way to get the current date timestamp (v2)

Revision 2 of this benchmark created on


Description

Testing for the fastest way to get a date timestamp on various browsers...

Test runner

Ready to run.

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

Revisions

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