Run details:
Mozilla/5.0 (Linux; Android 8.1.0; SM-T810) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.99 Safari/537.36
Chrome 80
Android 8.1.0
Tablet
4 years ago
Test name Executions per second
.unshift() 11469.4 Ops/sec
.push() 3462395.8 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()