Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Linux
Other
7 years ago
Test name Executions per second
Array Shift 830.5 Ops/sec
Array Pop 1860870.8 Ops/sec
Custom Shift 786771.4 Ops/sec
Custom Pop 727545.6 Ops/sec
Script Preparation code:
Tests:
  • Array Shift

  • Array Pop

  • Custom Shift

  • Custom Pop


;