otherconcat

Benchmark created by Nate on


Setup

var arr1 = ['foo', 'bar', 'baz']
    var arr2 = ['fing', 'fang', 'foom']

Test runner

Ready to run.

Testing in
TestOps/sec
Push
arr1.push.apply(arr1, arr2)
 
ready
concat
arr1 = arr1.concat(arr2)
ready

Revisions

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

  • Revision 1: published by Nate on