jQuery vs Mootools vs Qooxdoo

JavaScript performance comparison

Revision 3 of this test case created

Info

Which one is faster.

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/mootools/1.3/mootools-yui-compressed.js">
</script>
<script src="//code.jquery.com/jquery-2.0.0b2.js">
</script>
<script>
  var jQuery2 = jQuery.noConflict(true);
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script>
  var jQuery = jQuery.noConflict(true);
</script>
<script src="//cdnjs.cloudflare.com/ajax/libs/qooxdoo/2.1.1/q.min.js">
</script>

<div id="container">
</div>

Preparation code output

Test runner

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

Java applet disabled.

Testing in unknown unknown
Test Ops/sec
jQuery
var $container = jQuery('#container'),
    $newElement = jQuery(document.createElement('div'));

$container.append($newElement);
pending…
Mootools
var container = document.id('container'),
    newElement = new Element('div');

newElement.inject(container);
pending…
jQuery 2 Beta
var $container = jQuery2('#container'),
    $newElement = jQuery2(document.createElement('div'));

$container.append($newElement);
pending…
Qooxdoo 2.1.1
var container = q("#container"),
    newElement = q.create("<div>");
container.appendTo(newElement);
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:

0 comments

Add a comment