Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36 SznProhlizec/6.23.1-4065942
Chrome 102
Windows
Desktop
one year ago
Test name Executions per second
unshift 3704.6 Ops/sec
push + reverse 3379.9 Ops/sec
Script Preparation code:
Tests:
  • unshift

  • push + reverse