For-foeach

Benchmark created by Lucas Monteverde on


Preparation HTML

<script>
 var divs = ["teste", "teste", "teste", "teste", "teste", "teste", "teste", "teste", "teste", "teste", "teste", "teste", ]
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
for
var l = divs.length;
for (var i = 0; i < l; i++) {}
ready
for each
for (var i in divs) {}
ready

Revisions

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

  • Revision 1: published by Lucas Monteverde on