Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36
Chrome 118
Android
Desktop
one year ago
Test name Executions per second
for 18857.5 Ops/sec
foreach 1103796.9 Ops/sec
some 1105276.5 Ops/sec
for..of 32286.7 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;