Dojo vs. jQuery vs. ExtJS (v33)

Revision 33 of this benchmark created by mrozieres on


Description

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

Preparation HTML

<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
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 (Get)
var e1 = Ext.get('.section');
ready
ExtJS Inside (Get)
var e2 = Ext.get('.section .age2');
ready
ExtJs (Fly)
var ef1 = Ext.fly('.section');
ready
ExtJs Inside (Fly)
var ef2 = Ext.fly('.section .age2');
ready
Ext (query)
var eq1 = Ext.query('.section');
ready
ExtJs Inside (Query)
var eq2 = Ext.query('.section .age2');
ready

Revisions

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