Run details:
Mozilla/5.0 (Linux; Android 10; MI 8 SE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/46.06.4.5160
Chrome Mobile 77
Android
Mobile
3 years ago
Test name Executions per second
unshift 12726.2 Ops/sec
reverse push reverse 1485.0 Ops/sec
Script Preparation code:
Tests:
  • unshift

  • reverse push reverse