Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.87 Safari/537.36
Chrome 76
Linux
Desktop
5 years ago
Test name Executions per second
Just instantiate new array 15662.8 Ops/sec
Set length to zero 15440.3 Ops/sec
Splice 13107.5 Ops/sec
Pop all values 10287.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values