Tests:

Historical Performance Data aggregated from 5 community runs

Desktop Results:
Chrome 5 runs
Array.prototype.slice
71.3M/s
spread operator
64.8M/s

Fastest: Array.prototype.slice (1.1x faster)

View exact numbers
  • Array.prototype.slice: 71,306,240 ops/sec
  • spread operator: 64,754,640 ops/sec

Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

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

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: one month ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/149.0.0.0 Safari/537.36
Chrome 149 on Windows
View result in a separate tab
Array.prototype.slice
66.6M/s
spread operator
64.8M/s
View exact numbers
Test name Executions per second
Array.prototype.slice 66,555,940 Ops/sec
spread operator 64,754,640 Ops/sec