testtt

Benchmark created on


Description

kek test

Setup

const arr = Array.from({ length: 100 }, (_, i) => i + 1);
let emptyArr = [];

Test runner

Ready to run.

Testing in
TestOps/sec
tez 1
Array.prototype.push.apply(emptyArr, arr);
ready
tez 2
emptyArr = emptyArr.concat(arr);
ready
tez 3
emptyArr.push(...arr);
ready

Revisions

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