Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36 OPR/65.0.3467.62
Opera 65
Linux
Desktop
4 years ago
Test name Executions per second
.unshift() 18602.8 Ops/sec
.push() 7099292.0 Ops/sec
Script Preparation code:
Tests:
  • .unshift()

  • .push()