Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) FxiOS/16.2b14898 Mobile/15E148 Safari/605.1.15
Mobile Safari 12
iOS 12.2
Mobile
5 years ago
Test name Executions per second
.unshift() 4430020.0 Ops/sec
.push() 5568567.5 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()