thethingimdoin

Benchmark created on


Preparation HTML

<script>
  var a = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
While
var length = a.length;
                        var i = 0;
                        while (i < length) {

                                i++;
                        }
ready
for
var allCubes = a;
                        for (var i=0; i<a.length; i++) {

                        }
ready

Revisions

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