jq vs dojo (v3)

Revision 3 of this benchmark created on


Preparation HTML

<script src="http://code.jquery.com/jquery-1.8.3.min.js">
</script>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8/dojo/dojo.js">
</script>
<script>
  require(['dojo/query!css3'], function(query) {
    dQuery = query;
  });
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery
var j1 = $('.content');
ready
dojo
var d1 = dQuery(".content");
ready
jquery inner
var j2 = $('.content p');
ready
dojo inner
var d2 = dQuery(".content p");
ready

Revisions

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