zepto vs jquery (v8)

Revision 8 of this benchmark created on


Preparation HTML

<script src="http://code.jquery.com/jquery-2.0.0.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 chap" data-view-title="Splendid Corgi Consortium">
  <div class="content">
  </div>
</div>
<div id="chapter_005" class="view chap" data-view-title="Splendid Corgi Consortium">
  <div class="content">
  </div>
</div>
<div id="chapter_006" class="view chap" data-view-title="Splendid Corgi Consortium">
  <div class="content">
  </div>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
Zepto - id
Zepto('.chap').data('title');
ready
jQuery - id
jQuery('.chap').data('title');
ready

Revisions

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