array concat

Benchmark created on


Setup

const a = new Array(100).fill(0);
const b = new Array(100).fill(1);

Test runner

Ready to run.

Testing in
TestOps/sec
spread
const c = [...a, ...b]
ready
concat
const c = a.concat(b)
ready

Revisions

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