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 18786.2 Ops/sec
foreach 1109309.2 Ops/sec
some 1111964.5 Ops/sec
for..of 32324.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;