Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    spread operator
    Push
    For Push

    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/124.0.0.0 Safari/537.36
Chrome 124 on Mac OS X 10.15.7
View result in a separate tab
For Push
32.6M/s
Push
31.0M/s
spread operator
28.7M/s
Array.prototype.concat
8.8M/s
View exact numbers
Test name Executions per second
For Push 32,625,150 Ops/sec
Push 30,950,736 Ops/sec
spread operator 28,698,504 Ops/sec
Array.prototype.concat 8,838,685 Ops/sec