Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.from
    Array.slice
    Array.push
    Array[index]
    Array spread

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 days ago)
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36
Chrome Mobile 130 on Android
View result in a separate tab
Test name Executions per second
Array.from 222601.5 Ops/sec
Array.slice 254990.8 Ops/sec
Array.push 779662.4 Ops/sec
Array[index] 799656.4 Ops/sec
Array spread 185046.2 Ops/sec