Now(), lodash,jquery,underscore (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script src="https://rawgithub.com/jashkenas/underscore/ff32da25c2bf0a6ea1a8e9b7bda3651b1de601c2/underscore.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.0.2/jquery.js"></script>
<script src="https://rawgithub.com/lodash/lodash/6f31654f5ce025af9fe6560f976c9984827267b0/dist/lodash.js"></script>
<script>
var lodash = _.noConflict();
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
plain
(new Date).getTime()
ready
jquery
$.now()
ready
lodash
_.now()
ready
underscore
lodash.now()
ready
Plain shorthand
+new Date()
ready
Date.now
Date.now()
ready

Revisions

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