Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi 5 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.111 Mobile Safari/537.36
Chrome Mobile 76
Android 8.1.0
Mobile
5 years ago
Test name Executions per second
Just instantiate new array 4872.3 Ops/sec
Set length to zero 5169.1 Ops/sec
Splice 141.7 Ops/sec
Pop all values 3309.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;