jQuery vs Dojo vs Mootools vs YUI - DOM Test
JavaScript performance comparison
Preparation code
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/dojo/1.8.3/dojo/dojo.js"></script>
<script src="http://yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<div class="content">
<p>Content xyz</p>
</div>
<script type="text/javascript">
var Y = {},
Q = {};
YUI().use('node', 'selector-css3', function (Y) {
this.Y = Y;
});
require(['dojo/query!css3'], function(q) {
this.Q = q;
});
</script>
Preparation code output
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Content xyz
Test runner
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
| Test | Ops/sec | |
|---|---|---|
Dojo |
|
pending… |
jQuery |
|
pending… |
Mootools |
|
pending… |
YUI |
|
pending… |
jQuery - inside |
|
pending… |
Mootools - inside |
|
pending… |
Dojo - inside |
|
pending… |
YUI - inside |
|
pending… |
Native (gEBCN) |
|
pending… |
Native (QSA) |
|
pending… |
Native (QSA) - inside |
|
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. Here’s a list of current revisions for this page:
- Revision 1: published by Sebastiano Armeli
- Revision 3: published by Fábio
- Revision 4: published by Arian
- Revision 5: published by Arian
- Revision 6: published by Fábio M. Costa
- Revision 7: published by LesTR
- Revision 8: published
- Revision 9: published by Rudie Dirkx
- Revision 10: published
- Revision 11: published
- Revision 12: published
- Revision 20: published by PEM
- Revision 21: published by PEM
- Revision 23: published
- Revision 25: published
- Revision 26: published
- Revision 30: published by CPD
- Revision 32: published
- Revision 33: published
- Revision 34: published
- Revision 37: published
- Revision 38: published
- Revision 39: published
- Revision 40: published
- Revision 41: published
- Revision 42: published
- Revision 43: published
- Revision 44: published
- Revision 45: published
- Revision 48: published
- Revision 49: published
- Revision 50: published
- Revision 51: published
- Revision 54: published
- Revision 55: published
- Revision 56: published
- Revision 58: published by Francisco A LEME
- Revision 59: published
- Revision 60: published
- Revision 61: published
- Revision 62: published by Abdul Ahad
- Revision 63: published
- Revision 64: published by vijay shan
- Revision 65: published by Russell
- Revision 66: published
- Revision 67: published
- Revision 68: published
- Revision 69: published
- Revision 70: published
- Revision 71: published and last updated
- Revision 72: published
- Revision 73: published
- Revision 74: published
- Revision 75: published
- Revision 77: published
- Revision 79: published
- Revision 83: published
- Revision 84: published
- Revision 85: published
- Revision 87: published
- Revision 89: published
- Revision 90: published
- Revision 91: published by Francis
- Revision 92: published by Francis
- Revision 93: published by Francis
- Revision 94: published by Francis
- Revision 95: published by Francis
- Revision 96: published by Francis
- Revision 97: published by Francis
- Revision 98: published
- Revision 99: published by opalfroot
- Revision 100: published
- Revision 101: published
- Revision 103: published
- Revision 105: published
- Revision 106: published by yurkom
- Revision 107: published
- Revision 108: published by jockwallace and last updated
- Revision 109: published by savva-paladin
- Revision 110: published
- Revision 111: published
- Revision 112: published
- Revision 113: published
- Revision 114: published
- Revision 115: published
- Revision 116: published
- Revision 117: published
- Revision 119: published
- Revision 120: published
- Revision 121: published by Darth
- Revision 122: published
- Revision 123: published
- Revision 124: published
- Revision 125: published
- Revision 126: published
- Revision 127: published by Mariusz
- Revision 128: published
- Revision 129: published by Rasmus Fløe
- Revision 130: published by Mariusz
- Revision 131: published by Darth
- Revision 132: published
- Revision 133: published by Dipesh Hirani
- Revision 134: published
- Revision 135: published
0 comments