Run details:
Mozilla/5.0 (Linux; Android 10; SM-G981N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.99 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
Just instantiate new array 16546.8 Ops/sec
Set length to zero 17459.2 Ops/sec
Splice 14718.9 Ops/sec
Pop all values 11098.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values