Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.67 Safari/537.36
Chrome 70
Mac OS X 10.14.1
Desktop
6 years ago
Test name Executions per second
Just instantiate new array 20150.5 Ops/sec
Set length to zero 20083.0 Ops/sec
Splice 19759.9 Ops/sec
Pop all values 13298.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;