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 12692.7 Ops/sec
Set length to zero 13468.1 Ops/sec
Splice 11804.3 Ops/sec
Pop all values 8757.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values