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 534.4 Ops/sec
Array Pop 8298397.0 Ops/sec
Custom Shift 3488073.0 Ops/sec
Custom Pop 3443407.0 Ops/sec
Script Preparation code:
Tests:
  • Array Shift

  • Array Pop

  • Custom Shift

  • Custom Pop


;