Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 13_7 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/85.0.4183.109 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 85
iOS 13.7
Mobile
4 years ago
Test name Executions per second
pop 17044386.0 Ops/sec
shift 16949332.0 Ops/sec
length 13130817.0 Ops/sec
reassignment 11134027.0 Ops/sec
.splice(0) 8549483.0 Ops/sec
Script Preparation code:
Tests:
  • pop

  • shift

  • length

  • reassignment

  • .splice(0)


;