Run details:
Mozilla/5.0 (Linux; Android 7.1.1; Mi Note 3 Build/NMF26X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Chrome Mobile 66
Android 7.1.1
Mobile
6 years ago
Test name Executions per second
Just instantiate new array 6370.4 Ops/sec
Set length to zero 6430.9 Ops/sec
Splice 7007.7 Ops/sec
Pop all values 3396.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values