rightjs vs jquery (v3)

Revision 3 of this benchmark created by matt on


Description

simple parent selector test

Preparation HTML

<script src="http://cdn.rightjs.org/right.js">
</script>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
</script>
<div id="test1">
  <div id="test2">
    <div class="test3">
    </div>
  </div>
</div>
<script>
  jQuery.noConflict();
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
jquery 1.8
var jelem = jQuery('#test2').parent();
ready
rightjs
var relem = RightJS.$('test2').parent();
ready

Revisions

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

  • Revision 1: published by efernie on
  • Revision 2: published by Andrew Smith on
  • Revision 3: published by matt on