Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 4a) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
pop 6197099.0 Ops/sec
shift 6278024.0 Ops/sec
length 3096832.2 Ops/sec
reassignment 3117214.0 Ops/sec
.splice(0) 3443056.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)