Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:48.0) Gecko/20100101 Firefox/48.0
Firefox 48
Mac OS X 10.10
Other
8 years ago
Test name Executions per second
for 1543973.4 Ops/sec
foreach 3949250.0 Ops/sec
some 4020490.8 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some