Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • Push Spread

  • Push Apply

  • Push Loop

  • Array ForEach

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    spread operator
    Push Spread
    Push Apply
    Push Loop
    Array ForEach

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.127 Safari/537.36
Chrome 100 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.prototype.concat 1339118.4 Ops/sec
spread operator 2060388.5 Ops/sec
Push Spread 2623224.0 Ops/sec
Push Apply 2583901.8 Ops/sec
Push Loop 2951658.2 Ops/sec
Array ForEach 5915322.0 Ops/sec