Run details:
Mozilla/5.0 (Android 8.1.0; Mobile; rv:68.0) Gecko/68.0 Firefox/68.0
Firefox Mobile 68
Android 8.1.0
Mobile
4 years ago
Test name Executions per second
.unshift() 195876.6 Ops/sec
.push() 4254705.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()