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

  • Array.prototype.push spread

  • Array.prototype.concat.apply

  • Array.prototype.push.apply

  • Spread

  • Loop Push

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    Array.prototype.push spread
    Array.prototype.concat.apply
    Array.prototype.push.apply
    Spread
    Loop Push

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.121 Safari/537.36
Chrome 85 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.prototype.concat 2245.9 Ops/sec
Array.prototype.push spread 238.0 Ops/sec
Array.prototype.concat.apply 360.4 Ops/sec
Array.prototype.push.apply 242.2 Ops/sec
Spread 497.5 Ops/sec
Loop Push 493.6 Ops/sec


;