Dojo 1.8.3 vs. jQuery 1.9.0 vs. ExtJS 4.2 (v25)

Revision 25 of this benchmark created on


Description

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

Preparation HTML

<script src="http://cdn.sencha.com/ext/beta/4.2.0.265/ext.js">
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js">
</script>
<script src="//ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js" data-dojo-config="async:true">
</script>
<script>
  require(['dojo/query!css3'], function(q) {
    dj = q;
  });
</script>

Test runner

Ready to run.

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

Revisions

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