Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36 OPR/53.0.2907.68
Opera 53
Windows 7
Desktop
6 years ago
Test name Executions per second
for 36236.7 Ops/sec
foreach 1290963.2 Ops/sec
some 1338057.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some


;