jQuery children vs find (v19)

Revision 19 of this benchmark created on


Description

This testcase compares the performance from .children() and .find()

Preparation HTML

<body>
  <div id="test">
  </div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js">
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
find
$('body').find('#test');
ready
id
$('#test');
ready

Revisions

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