Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36
Chrome 135 on Mac OS X 10.15.7
View result in a separate tab
Array.prototype.slice
103.8M/s
Array.prototype.concat
81.3M/s
spread operator
72.2M/s
Array.prototype.from
69.5M/s
View exact numbers
Test name Executions per second
Array.prototype.slice 103,844,488 Ops/sec
Array.prototype.concat 81,250,016 Ops/sec
spread operator 72,223,480 Ops/sec
Array.prototype.from 69,523,536 Ops/sec