Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Chrome 112
Android
Desktop
one year ago
Test name Executions per second
for 24579.8 Ops/sec
foreach 1611840.0 Ops/sec
some 1450066.0 Ops/sec
for..of 48579.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;