Run details:
Mozilla/5.0 (Linux; Android 13; Pixel 6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Mobile Safari/537.36
Chrome Mobile 111
Android
Mobile
one year ago
Test name Executions per second
for 78024.8 Ops/sec
foreach 3436128.0 Ops/sec
some 3536845.8 Ops/sec
for..of 104551.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;