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 20028.3 Ops/sec
foreach 1344191.8 Ops/sec
some 1423874.0 Ops/sec
for..of 34873.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;