Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/63.0.3239.84 Chrome/63.0.3239.84 Safari/537.36
Chromium 63
Ubuntu
Other
2025 years ago
Test name Executions per second
Just instantiate new array 24107.4 Ops/sec
Set length to zero 23896.1 Ops/sec
Splice 24000.1 Ops/sec
Pop all values 15967.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values