Run details:
Mozilla/5.0 (Linux; Android 5.1.1; SM-G531F Build/LMY48B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.116 Mobile Safari/537.36
Chrome Mobile 60
Android 5.1.1
Samsung SM-G531F
2025 years ago
Test name Executions per second
Just instantiate new array 2919.0 Ops/sec
Set length to zero 2986.0 Ops/sec
Splice 3083.9 Ops/sec
Pop all values 1892.8 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values