Run details:
Mozilla/5.0 (Linux; Android 7.0; FTJ162E) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.71 Mobile Safari/537.36
Chrome Mobile 94
Android 7.0
Mobile
3 years ago
Test name Executions per second
.unshift() 8406.1 Ops/sec
.push() 819178.6 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()