Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Chrome 59
Mac OS X 10.13.0
Other
7 years ago
Test name Executions per second
Just instantiate new array 22713.9 Ops/sec
Set length to zero 22981.8 Ops/sec
Splice 22853.6 Ops/sec
Pop all values 15016.6 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;