Run details:
Mozilla/5.0 (Linux; Android 11; SM-M317F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
pop 4077396.0 Ops/sec
shift 4155293.5 Ops/sec
length 2491755.2 Ops/sec
reassignment 2878854.8 Ops/sec
.splice(0) 3208728.8 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)