select all

Benchmark created on


Preparation HTML

<div class="Someclass">
<img src="" title="" />
<ul>
<li></li>
<li><a href="" alt="" /></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
test 1
$('div.Someclass').children().css('border', '1px solid red')
ready
test2
$('.Someclass *').css('border', '1px solid red')
ready

Revisions

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