Run details:
Mozilla/5.0 (Linux; Android 11; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
2 years ago
Test name Executions per second
for 49272.7 Ops/sec
foreach 2604440.2 Ops/sec
some 2871238.2 Ops/sec
for..of 38223.0 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • some

  • for..of


;