underscore.date

Benchmark created by Tim Wood on


Preparation HTML

<script src="https://raw.github.com/timrwood/underscore.date/master/underscore.date.js"> </script>

<script>
  var date = new Date(),
      new_date = _date();
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Date
_date(date);
ready
UnderscoreDate
_date(new_date);
ready
undefined
_date();
ready
Number
_date(100000);
ready
String
_date("Mon, 25 Dec 1995 13:30:00 GMT");
ready
Array
_date([2010, 2, 6, 15, 25, 50, 125]);
ready
String + format
_date("12-02-1999 2:45:10", "DD-MM-YYYY h:m:s");
ready

Revisions

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

  • Revision 1: published by Tim Wood on