New Date value

Benchmark created by V1 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.