Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows 7
Other
8 years ago
Test name Executions per second
Just instantiate new array 6020.8 Ops/sec
Set length to zero 5972.2 Ops/sec
Splice 5328.8 Ops/sec
Pop all values 4756.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values