zepto vs. jQuery selector (v86)

Revision 86 of this benchmark created on


Description

Zepto vs jQuery

Preparation HTML

<div id="main">
  <ul class="gallery">
    <li>
      Hello World
    </li>
    <li>
      Hello World
    </li>
    <li>
      Hello World
    </li>
    <li>
      Hello World
    </li>
    <li>
      Hello World
    </li>
    <li>
      Hello World
    </li>
  </ul>
</div>
<script src="http://zeptojs.com/zepto.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
Zepto
$("#main ul:first-child")[0].style.display = "none";
ready
jQuery
$("#main ul:first-child")[0].style.display = "none";
ready

Revisions

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