qwery vs jquery vs mootools selector engines (v62)

Revision 62 of this benchmark created on


Description

a simple comparison between different selector engines

Preparation HTML

<script src="https://ajax.googleapis.com/ajax/libs/mootools/1.4/mootools-yui-compressed.js">
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>
<script>
  jQuery.noConflict();
</script>
<script src="https://raw.githubusercontent.com/ded/qwery/master/src/qwery.js">
</script>
<script src="https://raw.github.com/madrobby/zepto/master/src/zepto.js">
</script>
<script src="https://raw.github.com/chjj/zest/master/lib/zest.js">
</script>
<script src="https://raw.github.com/jquery/sizzle/master/sizzle.js">
</script>
<div id="myId">
  <div class="myClass">
  </div>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
Slick.find
Slick.find(document, ".myClass .foo .bar");
ready
Slick.search
Slick.search(document, ".myClass .foo .bar");
ready
jQuery
jQuery(".myClass .foo .bar");
ready
qwery
qwery(".myClass .foo .bar");
ready
zepto
Zepto(".myClass .foo .bar");
ready
Zest
zest(".myClass .foo .bar");
ready
Sizzle
Sizzle(".myClass .foo .bar");
ready
querySelector
document.querySelector(".myClass .foo .bar")
ready

Revisions

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