libs perfomance

JavaScript performance comparison

Test case created by brcontainer

Info

Test various javascript libraries with DOM.

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/mootools/1.3/mootools-yui-compressed.js"></script>
<script src="//yui.yahooapis.com/3.8.1/build/yui/yui-min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/dojo/1/dojo/dojo.xd.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/ext-core/3/ext-core.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
$("*");
$("body");
$("div");
$("body div");
$("div p");
$("html > *");
$("html > body");
pending…
mootools
$$("*");
$$("body");
$$("div");
$$("body div");
$$("div p");
$$("html > *");
$$("html > body");
pending…
Y.all
YUI().use('node', function(Y){
        Y.all("*");
        Y.all("body");
        Y.all("div");
        Y.all("body div");
        Y.all("div p");
        Y.all("html > *");
        Y.all("html > body");
});
pending…
dojo
dojo.query("*");
dojo.query("body");
dojo.query("div");
dojo.query("body div");
dojo.query("div p");
dojo.query("html > *");
dojo.query("html > body");
pending…
Ext
Ext.query("*");
Ext.query("body");
Ext.query("div");
Ext.query("body div");
Ext.query("div p");
Ext.query("html > *");
Ext.query("html > body");
pending…

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

Compare results of other browsers

0 comments

Add a comment