Dojo vs. jQuery (v84)

Revision 84 of this benchmark created on


Description

Simple test to benchmark variable allocation on inner and outer items.

Preparation HTML

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/dojo/1.9.3/dojo/dojo.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
jQuery append node
var j1 = $("#prep-code").append("<div class='foo'></div>")
ready
Dojo append node
var d1 = dojo.place("<div class='foo'></div>", "prep-code")
ready

Revisions

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