Zepto vs. jQ vs. raw JS Dom (v54)

Revision 54 of this benchmark created on


Preparation HTML

<script src="https://staging-ian.appmobi.com/game/zepto.min.js">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="https://duckbox.net/R.min.js">
</script>
<div id="asdf">
</div>
<script src="https://github.com/appMobi/jQ.Mobi/blob/master/jq.mobi.min.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Jquery
$(function(){ $('#asdf') });
ready
Zepto
$(function(){ $('#asdf') });
ready
R
R(function(){ R('#asdf') });
ready
Native
$(function(){ document.getElementById('asdf') })
ready
jqmobi
$(function(){ $('#asdf') });
ready

Revisions

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