Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/112.0
Firefox 112
Windows
Desktop
one year ago
Test name Executions per second
pop 249177120.0 Ops/sec
shift 1127453696.0 Ops/sec
length 53673664.0 Ops/sec
reassignment 139643760.0 Ops/sec
.splice(0) 36521932.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)