Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:64.0) Gecko/20100101 Firefox/64.0
Firefox 64
Windows
Desktop
5 years ago
Test name Executions per second
Just instantiate new array 2802.4 Ops/sec
Set length to zero 2919.3 Ops/sec
Splice 2974.5 Ops/sec
Pop all values 1939.3 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values