Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-J337AZ Build/R16NW; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/70.0.3538.110 Mobile Safari/537.36
Chrome Mobile 70
Android 8.0.0
Mobile
4 years ago
Test name Executions per second
pop 1198848.5 Ops/sec
shift 1245344.5 Ops/sec
length 619572.3 Ops/sec
reassignment 871428.6 Ops/sec
.splice(0) 580171.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)