Run details:
Mozilla/5.0 (Linux; Android 10; SM-N9700 Build/QP1A.190711.020; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/80.0.3987.162 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/265.0.0.61.103;]
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
Just instantiate new array 11219.6 Ops/sec
Set length to zero 11254.7 Ops/sec
Splice 10000.5 Ops/sec
Pop all values 6719.1 Ops/sec
Tests:
  • Just instantiate new array

  • Set length to zero

  • Splice

  • Pop all values


;