Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3163.79 Safari/537.36
Chrome 61
Windows 7
Other
7 years ago
Test name Executions per second
Array Shift 3173886.0 Ops/sec
Array Pop 3166096.8 Ops/sec
Custom Shift 1191703.2 Ops/sec
Custom Pop 1190657.6 Ops/sec
Script Preparation code:
Tests:
  • Array Shift

  • Array Pop

  • Custom Shift

  • Custom Pop


;