Run details:
Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Mobile Safari/537.36
Chrome Mobile 120
Android
Mobile
11 months ago
Test name Executions per second
for 66142.8 Ops/sec
foreach 3316970.2 Ops/sec
some 3241895.2 Ops/sec
for..of 93205.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;