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

Revision 50 of this benchmark created on


Description

Zepto vs. Jquery vs. raw JS for getting an element by id

Preparation HTML

<script src="//staging-ian.appmobi.com/game/zepto.min.js">
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script src="//duckbox.net/tests/R/R-test.js">
</script>
<div id="asdf">
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
Jquery
$(function(){ $('#asdf') });
ready
Zepto
$(function(){ $('#asdf') });
ready
R
F.eady(function(){ F('#asdf') });
ready

Revisions

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