Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Mac OS X 10.15
Desktop
22 hours ago
Test name Executions per second
for 7203234.5 Ops/sec
foreach 2512729.8 Ops/sec
for..of 2185337.2 Ops/sec
for..of over entries 715436.9 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for..of

  • for..of over entries


;