Tests:
  • Array.slice()

  • spreading operator [...array]

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.slice()
    spreading operator [...array]

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Windows NT 10.0; rv:112.0) Gecko/20100101 Firefox/112.0
Firefox 112 on Windows
View result in a separate tab
Test name Executions per second
Array.slice() 13003736.0 Ops/sec
spreading operator [...array] 6952852.0 Ops/sec


;