vanillajs-by-tag

JavaScript performance comparison

Revision 8 of this test case created by Rasmus Fløe

Preparation code

<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.4.5/mootools-yui-compressed.js"></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
Vanilla JS
//document.getElementsByTagName("span");
pending…
jQuery
//$jq('span');
pending…
Prototype JS
//Prototype.Selector.select('span', document);
pending…
MooTools
document.getElements("span");
//Slick.search(document, 'span', new Elements);
pending…
YUI
//YAHOO.util.Dom.getElementsBy(function(){return true;},'span');
pending…
Dojo
//dojo.query('span');
pending…
Ext JS
//Ext.query('span');
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