Run details:
Mozilla/5.0 (Linux; Android 11; M2101K6G) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Mobile Safari/537.36
Chrome Mobile 87
Android
Mobile
2 years ago
Test name Executions per second
Just instantiate new array 12514.8 Ops/sec
Set length to zero 13510.4 Ops/sec
Splice 11670.2 Ops/sec
Pop all values 8745.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values