Run details:
Mozilla/5.0 (Linux; Android 9) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.119 Mobile Safari/537.36 DuckDuckGo/5
Chrome Mobile 80
Android
Mobile
13 days ago
Test name Executions per second
Just instantiate new array 4426.5 Ops/sec
Set length to zero 4753.2 Ops/sec
Splice 4013.3 Ops/sec
Pop all values 2730.5 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values