Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Firefox 95
Linux
Desktop
3 years ago
Test name Executions per second
pop 425607840.0 Ops/sec
shift 1040433536.0 Ops/sec
length 34097944.0 Ops/sec
reassignment 87029112.0 Ops/sec
.splice(0) 18382572.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)