Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36
Chrome 60
Windows
Other
7 years ago
Test name Executions per second
Array Shift 213987.7 Ops/sec
Array Pop 564972.6 Ops/sec
Custom Shift 871814.4 Ops/sec
Custom Pop 879003.9 Ops/sec
Script Preparation code:
Tests:
  • Array Shift

  • Array Pop

  • Custom Shift

  • Custom Pop


;