Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Mac OS X 10.12
Desktop
6 years ago
Test name Executions per second
for 1230778.6 Ops/sec
foreach 9264467.0 Ops/sec
some 9356435.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some