Run details:
Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.78 Safari/537.36
Chrome 60
Linux
Other
7 years ago
Test name Executions per second
Array Shift 478959.5 Ops/sec
Array Pop 468166.2 Ops/sec
Custom Shift 173424.2 Ops/sec
Custom Pop 165192.5 Ops/sec
Script Preparation code:
Tests:
  • Array Shift

  • Array Pop

  • Custom Shift

  • Custom Pop


;