Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Fedora
Desktop
6 years ago
Test name Executions per second
for 732292.9 Ops/sec
foreach 4833104.0 Ops/sec
some 4855444.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some