Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.101 YaBrowser/16.10.0.1807 (beta) Yowser/2.5 Safari/537.36
Yandex Browser 16
Windows
Other
8 years ago
Test name Executions per second
Just instantiate new array 13574.9 Ops/sec
Set length to zero 13842.2 Ops/sec
Splice 15978.1 Ops/sec
Pop all values 10496.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values