Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Mi-4c Build/OPM2.171026.006.C1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.91 Mobile Safari/537.36
Chrome Mobile 68
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
Just instantiate new array 2177.6 Ops/sec
Set length to zero 2464.0 Ops/sec
Splice 2611.7 Ops/sec
Pop all values 1621.9 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values