datenow

JavaScript performance comparison

Revision 2 of this test case created

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
Date.now()
var a = Date.now();
pending…
new Date("January 01, 2000 00:00").getTime()
var a = new Date("January 01, 2000 00:00").getTime()
pending…
Date.parse(new Date("January 01, 2000 00:00"));
var a = Date.parse(new Date("January 01, 2000 00:00"));
pending…
new Date("January 01, 2000 00:00").valueOf();
var a = new Date("January 01, 2000 00:00").valueOf();
pending…

Compare results of other browsers

Revisions

You can edit these tests or add even more tests to this page by appending /edit to the URL. Here’s a list of current revisions for this page:

0 comments

Add a comment