Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Linux
Desktop
one year ago
Test name Executions per second
pop 21082054.0 Ops/sec
shift 21783762.0 Ops/sec
length 13267581.0 Ops/sec
reassignment 15502021.0 Ops/sec
.splice(0) 15361772.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)