Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:62.0) Gecko/20100101 Firefox/62.0
Firefox 62
Linux
Desktop
6 years ago
Test name Executions per second
for 1515149.1 Ops/sec
foreach 8097910.5 Ops/sec
some 8140406.5 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some