New Date value
JavaScript performance comparison
Info
Different ways of creating a valueOf() of a Date object
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Using .valueOf() |
|
pending… |
Using .getTime() |
|
pending… |
+new Date() |
|
pending… |
+new Date; |
|
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:
- Revision 1: published by V1 and last updated
- Revision 2: published by Kevin Decker and last updated
- Revision 3: published by Mathias Bynens
- Revision 6: published by RichardB
- Revision 7: published by Tarun
- Revision 8: published by Mike Lee
- Revision 9: published by Jinpu Hu
0 comments