Run details:
Mozilla/5.0 (Linux; Android 10; SM-G981N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.99 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
pop 6543605.0 Ops/sec
shift 6670761.0 Ops/sec
length 3923011.5 Ops/sec
reassignment 5432375.0 Ops/sec
.splice(0) 5502282.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)