Date.now vs new Date().getTime() (v29)

Revision 29 of this benchmark created on


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
Date.now().getTime()
Date.now().getTime()
ready

Revisions

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