Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 10_1 like Mac OS X) AppleWebKit/602.1.32 (KHTML, like Gecko) Mobile/14B55c Twitter for iPhone
Mobile Safari 10
iOS 10.1
iPhone
8 years ago
Test name Executions per second
for 12447.3 Ops/sec
foreach 80399.3 Ops/sec
some 71467.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some


;