Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi Note 5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Mobile Safari/537.36
Chrome Mobile 83
Android 8.1.0
one year ago
Test name Executions per second
Just instantiate new array 8113.8 Ops/sec
Set length to zero 7889.3 Ops/sec
Splice 7124.6 Ops/sec
Pop all values 4686.0 Ops/sec
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values