Dojo vs. jQuery vs. ExtJS (v15)

Revision 15 of this benchmark created on


Description

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

Preparation HTML

<script src="//cdn.sencha.io/ext-4.1.0-gpl/ext-all.js"></script>
<script src="//code.jquery.com/jquery-1.9.1.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
var d1 = dojo.query(".section");
ready
Dojo Inside
var d2 = dojo.query(".section .age2");
ready
jQuery
var j1 = jQuery('.section');
ready
jQuery Inside
var j2 = jQuery('.section .age2');
ready
ExtJS
var e1 = Ext.select('.section');
ready
ExtJS Inside
var e2 = Ext.select('.section .age2');
ready
QSA
var q1 = document.querySelectorAll('.section');
ready
QSA Inside
var q2 = document.querySelectorAll('.section .age2');
ready

Revisions

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