Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Just instantiate new array
    Set length to zero
    Splice
    Pop all values

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 3 years ago)
Mozilla/5.0 (Linux; Android 10; HRY-AL00a; HMSCore 5.2.0.333) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 HuaweiBrowser/11.1.0.300 Mobile Safari/537.36
Chrome 83 on Android
View result in a separate tab
Test name Executions per second
Just instantiate new array 26.5 Ops/sec
Set length to zero 36.1 Ops/sec
Splice 25.3 Ops/sec
Pop all values 18.3 Ops/sec


;