Zero filled array creation (v7)

Revision 7 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Array push
for (var i = 0, a = []; i < 1000; i++) a.push(0);
ready
Array apply
Array.apply(null, new Array(1000)).map(String.prototype.valueOf,'');
ready

Revisions

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