jquery-find-group-vs-single-2

Benchmark created by Jinyoung on


Preparation HTML

<div><ul><li></li></ul></div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>

Test runner

Ready to run.

Testing in
TestOps/sec
group
$('div').find('ul li');
ready
individual
$('div').find('ul').find('li');
ready

Revisions

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

  • Revision 1: published by Jinyoung on