lodash clone vs lodash extend vs jquery extend (v16)

Revision 16 of this benchmark created on


Preparation HTML

<script src="//cdnjs.cloudflare.com/ajax/libs/lodash.js/2.2.1/lodash.min.js"></script>
<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/backbone.js/1.1.0/backbone-min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
lodash.clone
var bus = _.clone(Backbone.Events);
ready
jquery.extend
var bus = $.extend(false, {}, Backbone.Events);
ready
lodash.extend
var bus = _.extend({},Backbone.Events);
ready

Revisions

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