Run details:
Mozilla/5.0 (Linux; Android 11; Mi Note 10 Build/RKQ1.200826.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.159 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
pop 4460272.0 Ops/sec
shift 4518574.0 Ops/sec
length 2642010.0 Ops/sec
reassignment 3518188.2 Ops/sec
.splice(0) 3382744.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;