Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Linux
Desktop
6 years ago
Test name Executions per second
.unshift() 1642.3 Ops/sec
.push() 5777983.5 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()