0-fill n-size Array (v8)

Revision 8 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
for-loop Fill
var arr = [];
arr.length = 100000;
for (var i = 0; i < l; ++i) {
  arr[i] = 0;
}
ready
for-loop Fill (uninitialised)
var arr = [],
    l = 5 * window.growFactor;
for (var i = 0; i < l; ++i) {
  arr[i] = 0;
}
ready

Revisions

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