Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Windows
Desktop
one year ago
Test name Executions per second
simple reverse for 94976.6 Ops/sec
reverse while 60132.7 Ops/sec
for-push 30754.7 Ops/sec
for 30913.3 Ops/sec
reverse for 61105.8 Ops/sec
Script Preparation code:
Tests:
  • simple reverse for

  • reverse while

  • for-push

  • for

  • reverse for