rightjs vs jquery

Benchmark created by efernie 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/jquery.min.js">
</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
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