Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.59 Safari/537.36
Chrome 54
Windows 7
Other
8 years ago
Test name Executions per second
Just instantiate new array 20256.3 Ops/sec
Set length to zero 19428.2 Ops/sec
Splice 19421.1 Ops/sec
Pop all values 13848.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;