Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Linux
Desktop
4 years ago
Test name Executions per second
pop 147485040.0 Ops/sec
shift 281449216.0 Ops/sec
length 24269892.0 Ops/sec
reassignment 32921376.0 Ops/sec
.splice(0) 15203645.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)