Dojo vs. jQuery vs. ExtJS (v86)

Revision 86 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/prototype/1/prototype.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/mootools/1.3/mootools-yui-compressed.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/yui/2.9.0/build/yuiloader/yuiloader-min.js"></script>
<script src="//www.cinsoft.net/mylib099-min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/ext-core/3/ext-core.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/dojo/1/dojo/dojo.xd.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Dojo
// async test
var d1 = dojo.query(".section");
ready
Dojo Inside
// async test
var d2 = dojo.query(".section .age2");
ready
jQuery
// async test
var j1 = jQuery('.section');
ready
jQuery Inside
// async test
var j2 = jQuery('.section .age2');
ready
ExtJS
// async test
var e1 = Ext.select('.section');
ready
ExtJS Inside
// async test
var e2 = Ext.select('.section .age2');
ready

Revisions

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