shane: Array Capacity

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Loose size
var a = [];
for (var i = 0; i < 1000; i++)
a[i] = i;
ready
Fixed size
var a = new Array(1000);
for (var i = 0; i < 1000; i++)
a[i] = i;
ready

Revisions

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