Run details:
Mozilla/5.0 (Linux; Android 7.0; MI 5s Build/NRD90M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.126 Mobile Safari/537.36
Chrome Mobile 66
Android 7.0
MI 5s
6 years ago
Test name Executions per second
Just instantiate new array 10564.8 Ops/sec
Set length to zero 10628.4 Ops/sec
Splice 338.9 Ops/sec
Pop all values 5721.7 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values