Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 3 XL) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/101.0.4951.61 Mobile Safari/537.36
Chrome Mobile 101
Android
Mobile
2 years ago
Test name Executions per second
shift 0.5 Ops/sec
pop 15.4 Ops/sec
splice(shift) 0.5 Ops/sec
splice(pop) 9.2 Ops/sec
Script Preparation code:
Tests:
  • shift

  • pop

  • splice(shift)

  • splice(pop)