Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Firefox 51
Windows
Other
8 years ago
Test name Executions per second
Just instantiate new array 11629.0 Ops/sec
Set length to zero 13814.6 Ops/sec
Splice 13809.9 Ops/sec
Pop all values 9675.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values