Tests:
  • Array.prototype.slice

  • spread operator

  • FromArray method

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Array.prototype.slice
    spread operator
    FromArray method

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/146.0.0.0 Safari/537.36
Chrome 146 on Mac OS X 10.15.7
View result in a separate tab
Test name Executions per second
Array.prototype.slice 69702952.0 Ops/sec
spread operator 56137544.0 Ops/sec
FromArray method 58512856.0 Ops/sec