Run details:
Mozilla/5.0 (Linux; Android 8.0.0; G8441 Build/47.1.A.12.270) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.126 Mobile Safari/537.36
Chrome Mobile 66
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
.unshift() 13903.5 Ops/sec
.push() 2929961.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()