Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.1.2 Safari/605.1.15
Safari 12
Mac OS X 10.14.6
Desktop
7 months ago
Test name Executions per second
Just instantiate new array 23173.6 Ops/sec
Set length to zero 23922.2 Ops/sec
Splice 17618.8 Ops/sec
Pop all values 14935.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values