qwery vs jquery vs mootools selector engines (v68)

Revision 68 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.github.com/ded/qwery/5c51e8730330b02c3dfff4afc9402af1794407e7/qwery.min.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("#myId");
ready
Slick.search
Slick.search("#myId");
ready
jQuery
jQuery("#myId");
ready
qwery
qwery("#myId");
ready
zepto
Zepto("#myId");
ready
Zest
zest("#myId");
ready
Sizzle
Sizzle("#myId");
ready
qwery / class
qwery(".myClass");
ready
jQuery / class
jQuery(".myClass");
ready
querySelector
document.querySelector("#myId")
ready

Revisions

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