Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
pop 10139639.0 Ops/sec
shift 9832348.0 Ops/sec
length 5701975.0 Ops/sec
reassignment 6569097.0 Ops/sec
.splice(0) 7275825.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;