Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36 OPR/52.0.2871.99
Opera 52
Linux
Other
6 years ago
Test name Executions per second
for 75784.5 Ops/sec
foreach 2449016.2 Ops/sec
some 1174528.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some