Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/75.0.3770.90 Chrome/75.0.3770.90 Safari/537.36
Chromium 75
Ubuntu
Desktop
5 years ago
Test name Executions per second
Just instantiate new array 12024.5 Ops/sec
Set length to zero 11932.8 Ops/sec
Splice 863.0 Ops/sec
Pop all values 8585.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;