Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Chrome 60
Linux
Other
6 years ago
Test name Executions per second
for 53100.9 Ops/sec
foreach 1279428.2 Ops/sec
some 1264745.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some