zepto vs jquery (v2)

Revision 2 of this benchmark created by John Cockrell on


Preparation HTML

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
<script src="http://zeptojs.com/zepto.min.js"></script>

<div id="rsvp" class="view" data-view-title="RSVPs">
    <div class="content"></div>
</div>
<div id="chapter_004" class="view" data-view-title="Splendid Corgi Consortium">
    <div class="content"></div>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
Zepto - id
Zepto('#chapter_004');
ready
jQuery - id
jQuery('#chapter_004');
ready
Native
document.getElementById('chapter_004');
ready

Revisions

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