Run details:
Mozilla/5.0 (Linux; Android 8.1.0; 1809-A01) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android 8.1.0
Mobile
one year ago
Test name Executions per second
for 20224.0 Ops/sec
foreach 1372585.8 Ops/sec
some 1388402.0 Ops/sec
for..of 34723.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;