test (v2)

Revision 2 of this benchmark created on


Preparation HTML

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

<ul id="other_topics">
 <li> <a href="gdgscom"></a></li>
 <li> <a href="gsgm"></a></li>
 <li class="active"> <a href="test.com"></a></li>
 <li> <a href="sdfs"></a></li>
</ul>

Test runner

Ready to run.

Testing in
TestOps/sec
find together
$('#other_topics .active a').attr('href');
ready
found apart
$('#other_topics').find('.active').find('a').attr('href');
ready

Revisions

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