Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.75 Safari/537.36
Chrome 73
Windows
Desktop
5 years ago
Test name Executions per second
Just instantiate new array 13555.6 Ops/sec
Set length to zero 13604.4 Ops/sec
Splice 11742.0 Ops/sec
Pop all values 10372.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;