childs

Benchmark created by Jakub on


Preparation HTML

<div>
<a></a>
<a></a>

<a></a>
<a></a>
<a></a>
<a></a>
<a></a>
<a></a>
</div>

Test runner

Ready to run.

Testing in
TestOps/sec
getelem
document.getElementsByTagName('div')[0].getElementsByTagName('a');
ready
childNodes
document.getElementsByTagName('div')[0].childNodes;
ready

Revisions

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