Run details:
Mozilla/5.0 (Linux; Android 6.0; Power Ice Max Build/MRA58K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.98 Mobile Safari/537.36
Chrome Mobile 52
Android 6.0
Mobile
5 years ago
Test name Executions per second
for 6489.7 Ops/sec
foreach 99567.7 Ops/sec
some 100473.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some