Prova cicli (v2)

Revision 2 of this benchmark created on


Preparation HTML

<script>
  var i = 0,
      j = 0;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
for
for (i = 1; i < 100; ++i) {
 j = i * 2;
}
ready
while
while (i < 100) {
 j = i * 2;
 ++i;
}
ready

Revisions

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