Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36
Chrome 107
Linux
Desktop
2 years ago
Test name Executions per second
pop 12607411.0 Ops/sec
shift 13095723.0 Ops/sec
length 8467674.0 Ops/sec
reassignment 8998558.0 Ops/sec
.splice(0) 10247871.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)