Run details:
Mozilla/5.0 (Linux; Android 8.1.0; CPH1803) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.82 Mobile Safari/537.36
Chrome Mobile 90
Android 8.1.0
Mobile
3 years ago
Test name Executions per second
.unshift() 10120.3 Ops/sec
.push() 898158.4 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()