Run details:
Mozilla/5.0 (Linux; Android 5.1.1; KFAUWI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Safari/537.36
Chrome 80
Android 5.1.1
Tablet
4 years ago
Test name Executions per second
.unshift() 5246.6 Ops/sec
.push() 601896.6 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()