query selectored libs serch speed test

JavaScript performance comparison

Revision 86 of this test case created

Preparation code

<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://zeptojs.com/zepto.min.js">
</script>
<script src="http://cdn.jqmobi.com/1.1/jq.mobi.min.js">
</script>
<script src="http://jsdo.it/damele0n/wSoF/js">
</script>

<div id="asdf">
</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
Zepto
Zepto('#asdf')
pending…
jQuery
jQuery('#asdf')
pending…
jQMobi
jq('#asdf')
pending…
Straight getElementById
document.getElementById('asdf')
pending…
querySelector
document.querySelectorAll('#asdf')
pending…
ZZ.js
zz("#asdf")
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