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

  • Set length to zero

  • Splice

  • Pop all values


;