Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.concat
    spread operator
    Push
    length + assign

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36
Chrome 128 on Windows
View result in a separate tab
spread operator
8.0M/s
Push
7.4M/s
Array.prototype.concat
4.3M/s
length + assign
1.1M/s
View exact numbers
Test name Executions per second
spread operator 7,995,311 Ops/sec
Push 7,441,763 Ops/sec
Array.prototype.concat 4,316,644 Ops/sec
length + assign 1,123,919 Ops/sec