Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Redmi 5 Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.61 Mobile Safari/537.36
Chrome Mobile 94
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
pop 1165482.6 Ops/sec
shift 1204751.2 Ops/sec
length 685250.7 Ops/sec
reassignment 1008632.1 Ops/sec
.splice(0) 925826.2 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)