Run details:
Mozilla/5.0 (X11; CrOS x86_64 13904.55.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.102 Safari/537.36
Chrome 91
Chrome OS 13904.55.0
Desktop
3 years ago
Test name Executions per second
pop 8676028.0 Ops/sec
shift 9704780.0 Ops/sec
length 5493100.5 Ops/sec
reassignment 4133172.2 Ops/sec
.splice(0) 676922.1 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)