Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0
Firefox 88
Linux
Desktop
3 years ago
Test name Executions per second
pop 257475136.0 Ops/sec
shift 476311712.0 Ops/sec
length 33282744.0 Ops/sec
reassignment 47985184.0 Ops/sec
.splice(0) 20595182.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)