Run details:
Mozilla/5.0 (iPad; CPU OS 13_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/84.0.4147.122 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 84
iOS 13.6
Tablet
4 years ago
Test name Executions per second
pop 15657497.0 Ops/sec
shift 15563896.0 Ops/sec
length 11198527.0 Ops/sec
reassignment 10364110.0 Ops/sec
.splice(0) 7745215.5 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;