Run details:
Mozilla/5.0 (Linux; Android 8.1.0; 16th Plus) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.101 Mobile Safari/537.36
Chrome Mobile 98
Android 8.1.0
Mobile
2 years ago
Test name Executions per second
unshift 1738.7 Ops/sec
push + reverse 2333.4 Ops/sec
Script Preparation code:
Tests:
  • unshift

  • push + reverse