Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101 Firefox/85.0
Firefox 85
Linux
Desktop
3 years ago
Test name Executions per second
pop 172842928.0 Ops/sec
shift 556920512.0 Ops/sec
length 44136540.0 Ops/sec
reassignment 49814832.0 Ops/sec
.splice(0) 26211666.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)