Run details:
Mozilla/5.0 (Linux; Android 6.0.1; A0001 Build/MHC19Q) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.125 Mobile Safari/537.36
Chrome Mobile 59
Android 6.0.1
A0001
4 years ago
Test name Executions per second
Just instantiate new array 9545.1 Ops/sec
Set length to zero 8758.4 Ops/sec
Splice 8011.2 Ops/sec
Pop all values 5425.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values