Script Preparation code:
Tests:
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array length = 0
    array = []
    array.splice(0)

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 9 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Chrome 142 on Windows
View result in a separate tab
array.splice(0)
52.3M/s
array length = 0
34.0M/s
array = []
9.7M/s
View exact numbers
Test name Executions per second
array.splice(0) 52,274,420 Ops/sec
array length = 0 33,980,488 Ops/sec
array = [] 9,685,842 Ops/sec