Zepto vs. jQ vs. jQmobi vs. raw

JavaScript performance comparison

Revision 114 of this test case created by dameleon

Preparation code

<script src="http://zeptojs.com/zepto.min.js"></script>
<script src="https://raw.github.com/01org/appframework/master/jq.mobi.min.js"></script>
<script src="http://code.jquery.com/jquery-2.0.0b2.js"></script>
<script src="https://raw.github.com/zentooo/Riddle.js/develop/src/riddle.min.js"></script>
<script src="https://raw.github.com/dameleon/tt.js/develop/tt.min.js"></script>
<div id="asdf">
</div>
    

Preparation code output

<div id="asdf"> </div>

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
Zepto
Zepto('#asdf')
pending…
jQuery
jQuery('#asdf')
pending…
jQMobi
jq('#asdf')
pending…
riddle.js
r('#asdf')
pending…
tt.js
tt('#asdf')
pending…
Straight getElementById
document.getElementById('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.

0 Comments