Tests:
  • Array.prototype.slice Array.prototype.concat

  • spread operator

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 5 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Chrome 74 on Mac OS X 10.13.5
View result in a separate tab
Test name Executions per second
Array.prototype.slice Array.prototype.concat 4445608.0 Ops/sec
spread operator 2963277.8 Ops/sec