Tests:
  • Array.concat()

    AخA
     
    var params = [ "hello", true, 7 ];
    var otherParams = [ 1, 2 ];
    var other = otherParams.concat(params);
  • Array.push( spread )

     
    var params = [ "hello", true, 7 ];
    var otherParams = [ 1, 2 ];
    var other = otherParams.push(...params);
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    Array.concat()
    Array.push( spread )

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
meta-externalagent/1.1 (+https://developers.facebook.com/docs/sharing/webmasters/crawler)
Other on Other
View result in a separate tab
Test name Executions per second
Array.concat() 4954282.5 Ops/sec
Array.push( spread ) 24289648.0 Ops/sec