Script Preparation code:
Tests:
  • array length = 0

  • array = []

  • array.splice(0)

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: 6 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
Test name Executions per second
array length = 0 33980488.0 Ops/sec
array = [] 9685842.0 Ops/sec
array.splice(0) 52274420.0 Ops/sec