New Date value (v7)

Revision 7 of this benchmark created by Tarun on


Description

Different ways of creating a valueOf() of a Date object

Test runner

Ready to run.

Testing in
TestOps/sec
Using .valueOf()
new Date().valueOf();
ready
Using .getTime()
new Date().getTime();
ready
+new Date()
+new Date();
ready
+new Date;
+new Date;
ready

Revisions

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