Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12
Safari 10
Mac OS X 10.12.2
Other
7 years ago
Test name Executions per second
Just instantiate new array 27699.3 Ops/sec
Set length to zero 27341.5 Ops/sec
Splice 19443.8 Ops/sec
Pop all values 17967.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;