Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Windows
Desktop
one year ago
Test name Executions per second
pop 161874112.0 Ops/sec
shift 730307392.0 Ops/sec
length 48341832.0 Ops/sec
reassignment 118501344.0 Ops/sec
.splice(0) 22248274.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)