Perf array

Benchmark created on


Setup

const a = new Array(1000).fill(null).map((_, i ) => i)
const b = "id"

Test runner

Ready to run.

Testing in
TestOps/sec
destruct
[b, ...a]
ready
push
a.push(b)
ready
concat
a.concat([b])
ready

Revisions

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