Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:90.0) Gecko/20100101 Firefox/90.0
Firefox 90
Fedora
Desktop
3 years ago
Test name Executions per second
.unshift() 465052.7 Ops/sec
.push() 19460938.0 Ops/sec
Spread 0.2 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()

  • Spread