Script Preparation code:
Tests:

Historical Performance Data aggregated from 48 community runs

Desktop Results:
Chrome 37 runs
Slice
11.9M/s
toSpliced
11.7M/s
View exact numbers
  • Slice: 11,867,481 ops/sec
  • toSpliced: 11,692,452 ops/sec
Firefox 11 runs
Slice
45.1M/s
toSpliced
15.6M/s

Fastest: Slice (2.9x faster)

View exact numbers
  • Slice: 45,067,304 ops/sec
  • toSpliced: 15,641,369 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
    Slice
    toSpliced

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 months 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
Slice
71.3M/s
toSpliced
37.6M/s
View exact numbers
Test name Executions per second
Slice 71,294,792 Ops/sec
toSpliced 37,616,128 Ops/sec