Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.push for of
    array.push spread
    array.concat
    spread operator

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36
Chrome 141 on Mac OS X 10.15.7
View result in a separate tab
Array.prototype.push for of
69.1M/s
array.concat
21.6M/s
spread operator
15.1M/s
array.push spread
9.9M/s
View exact numbers
Test name Executions per second
Array.prototype.push for of 69,063,800 Ops/sec
array.concat 21,611,168 Ops/sec
spread operator 15,058,423 Ops/sec
array.push spread 9,883,615 Ops/sec