Script Preparation code:
Tests:
  • Array.prototype.slice

  • Array.prototype.concat

  • spread operator

  • Array.from

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 4 years ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
Chrome 84 on Mac OS X 10.15.5
View result in a separate tab
Test name Executions per second
Array.prototype.slice 13817982.0 Ops/sec
Array.prototype.concat 4033617.5 Ops/sec
spread operator 12598043.0 Ops/sec
Array.from 3687524.0 Ops/sec