Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.131 Safari/537.36
Chrome 92
Windows
Desktop
3 years ago
Test name Executions per second
simple reverse for 26667.6 Ops/sec
reverse while 27385.1 Ops/sec
for-push 13257.1 Ops/sec
for 13430.9 Ops/sec
reverse for 27158.0 Ops/sec
Script Preparation code:
Tests:
  • simple reverse for

  • reverse while

  • for-push

  • for

  • reverse for