Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0
Firefox 110
Linux
Desktop
one year ago
Test name Executions per second
for of 3869286.0 Ops/sec
foreach 5618470.0 Ops/sec
for n 3850766.8 Ops/sec
Script Preparation code:
Tests:
  • for of

  • foreach

  • for n