Zepto vs. jQ vs. jQmobi vs. raw (v115)

Revision 115 of this benchmark created by realpeterz on


Preparation HTML

<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>

Setup

var body = $(document.body)

Test runner

Ready to run.

Testing in
TestOps/sec
Zepto
Zepto('#asdf')
ready
jQuery
jQuery('#asdf')
ready
jQMobi
jq('#asdf')
ready
riddle.js
r('#asdf')
ready
tt.js
tt('#asdf')
ready
Straight getElementById
document.getElementById('asdf')
ready
querySelector
document.querySelector('#asdf')
ready
jQuery: find()
body.find('#asdf')
ready

Revisions

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