Dojo vs. jQuery vs. ExtJS

JavaScript performance comparison

Revision 41 of this test case created by

Preparation code

<script src="https://ajax.googleapis.com/ajax/libs/ext-core/3/ext-core.js">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/dojo/1.9.0/dojo/dojo.js" data-dojo-config="async: false">
</script>
<script>
  var dojo;
  var domConstruct;
  require(["dojo/query", "dojo/dom-construct", "dojo/domReady!"], function(query, domConst) {
    domConstruct = domConst;
    dojo = query;
  });
</script>
    

Preparation code output

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"> </script> <script src="https://ajax.googleapis.com/ajax/libs/dojo/1.9.0/dojo/dojo.js" data-dojo-config="async: false"> </script> <script> var dojo; var domConstruct; require(["dojo/query", "dojo/dom-construct", "dojo/domReady!"], function(query, domConst) { domConstruct = domConst; dojo = query; }); </script>

Test runner

Warning! For accurate results, please disable Firebug before running the tests. (Why?)

Java applet disabled.

Testing in CCBot 2.0.0 / Other 0.0.0
Test Ops/sec
Dojo
var d1 = dojo(".section");
pending…
Dojo Inside
var d2 = dojo(".section .age2");
pending…
jQuery
var j1 = jQuery('.section');
pending…
jQuery Inside
var j2 = jQuery('.section .age2');
pending…
ExtJS
var e1 = Ext.get('.section');
pending…
ExtJS Inside
var e2 = Ext.get('.section .age2');
pending…

Compare results of other browsers

Revisions

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

0 Comments