Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:96.0) Gecko/20100101 Firefox/96.0
Firefox 96
Linux
Desktop
2 years ago
Test name Executions per second
pop 154751056.0 Ops/sec
shift 574145728.0 Ops/sec
length 27391192.0 Ops/sec
reassignment 47950888.0 Ops/sec
.splice(0) 13805824.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)