Test array push with init

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
array.push with 1 item present
const arr = ['test 1'];

arr.unshift('test 2');
ready
array.push with empty array
const arr = [];

arr.push('test 1');
arr.push('test 2');
ready

Revisions

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