Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.84 Safari/537.36
Chrome 63
Mac OS X 10.13.2
Other
2025 years ago
Test name Executions per second
Just instantiate new array 15322.9 Ops/sec
Set length to zero 14085.3 Ops/sec
Splice 14881.3 Ops/sec
Pop all values 10680.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values