getTime() vs coerced

Benchmark created by Rick Waldron on


Test runner

Ready to run.

Testing in
TestOps/sec
(new Date()).getTime()
(new Date()).getTime();
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.

  • Revision 1: published by Rick Waldron on