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: 6 hours ago)
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:66.0) Gecko/20100101 Firefox/66.0
Firefox 66 on Ubuntu
View result in a separate tab
Test name Executions per second
Just instantiate new array 6432.2 Ops/sec
Set length to zero 5352.2 Ops/sec
Splice 5513.5 Ops/sec
Pop all values 2775.7 Ops/sec