Run details:
Mozilla/5.0 (Linux; Android 10; SM-A105FN) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
one year ago
Test name Executions per second
Just instantiate new array 6467.1 Ops/sec
Set length to zero 6388.2 Ops/sec
Splice 6136.1 Ops/sec
Pop all values 3940.0 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values