rightjs vs jquery (v2)

Revision 2 of this benchmark created by Andrew Smith on


Preparation HTML

<script src="//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>

Test runner

Ready to run.

Testing in
TestOps/sec
jquery
var jelem = $('#test2');
ready
rightjs
var relem = $('test2');
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