Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko
IE 11
Windows
Desktop
4 years ago
Test name Executions per second
Just instantiate new array 2337.6 Ops/sec
Set length to zero 2341.6 Ops/sec
Splice 7457.3 Ops/sec
Pop all values 1030.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values