Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Chrome 65
Windows 7
Other
6 years ago
Test name Executions per second
Just instantiate new array 15450.9 Ops/sec
Set length to zero 16407.8 Ops/sec
Splice 16021.6 Ops/sec
Pop all values 10850.4 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;