Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0
Firefox 56
Linux
Desktop
4 years ago
Test name Executions per second
.unshift() 559783.0 Ops/sec
.push() 24293974.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()