Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6
Safari 11
Mac OS X 10.13.3
Other
2022 years ago
Test name Executions per second
Just instantiate new array 13501.9 Ops/sec
Set length to zero 13336.3 Ops/sec
Splice 10792.1 Ops/sec
Pop all values 10014.2 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values