Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36
Chrome 80
Windows
Desktop
2 years ago
Test name Executions per second
for 6522789.0 Ops/sec
for normal 3.9 Ops/sec
foreach 248.3 Ops/sec
Script Preparation code:
Tests:
  • for

  • for normal

  • foreach