Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Mac OS X 10.12
Other
8 years ago
Test name Executions per second
Just instantiate new array 5391.0 Ops/sec
Set length to zero 20966.5 Ops/sec
Splice 22126.1 Ops/sec
Pop all values 12041.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values