Static vs new Arrays

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
static
const input = [0,0,0,0,0,0,0,0];
ready
new array
const input = new Array(8).fill(0);
ready

Revisions

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