Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Linux
Desktop
10 months ago
Test name Executions per second
pop 12769431.0 Ops/sec
shift 11420500.0 Ops/sec
length 6265331.5 Ops/sec
reassignment 9594303.0 Ops/sec
.splice(0) 10681514.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)