Date.js Parse ISO Date (v5)

Revision 5 of this benchmark created on


Preparation HTML

<script src="https://gist.github.com/4112960"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
1000 iterations
for (var i = 0, len = 1000; i < len; i++) { Date.parse('2011-09-23T20:40:55.' + i + '+0000').addDays(1).toString(); };
ready
1000 iterations
for (var i = 0, len = 1000; i < len; i++) { Date.parse('2011-09-23T20:40:55.' + i + '+0000').toString(); };
ready

Revisions

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