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

  • Array Pop

  • Custom Shift

  • Custom Pop


;