Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.concat
    Slice with begin argument
    Array.from
    Array.toSpliced
    Spread operator
    For loop

    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/130.0.0.0 Safari/537.36
Chrome 130 on Windows
View result in a separate tab
Slice with begin argument
324/s
Array.concat
319/s
Array.toSpliced
319/s
Array.from
317/s
Spread operator
310/s
For loop
4/s
View exact numbers
Test name Executions per second
Slice with begin argument 324 Ops/sec
Array.concat 319 Ops/sec
Array.toSpliced 319 Ops/sec
Array.from 317 Ops/sec
Spread operator 310 Ops/sec
For loop 4 Ops/sec