Tests:

Historical Performance Data aggregated from 86 community runs

Desktop Results:
Chrome 69 runs
Set length to zero
36K/s
Splice
34K/s
View exact numbers
  • Set length to zero: 36,026 ops/sec
  • Splice: 33,574 ops/sec
Firefox 17 runs
Set length to zero
53K/s
Splice
50K/s
View exact numbers
  • Set length to zero: 52,847 ops/sec
  • Splice: 49,751 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
    Set length to zero
    Splice

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 11 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:142.0) Gecko/20100101 Firefox/142.0
Firefox 142 on Windows
View result in a separate tab
Splice
112K/s
Set length to zero
104K/s
View exact numbers
Test name Executions per second
Splice 111,544 Ops/sec
Set length to zero 103,891 Ops/sec