Run details:
Mozilla/5.0 (Linux; Android 7.1.1; Z839) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Mobile Safari/537.36
Chrome Mobile 108
Android 7.1.1
Mobile
one year ago
Test name Executions per second
for 4070.2 Ops/sec
foreach 244904.9 Ops/sec
for in 201790.1 Ops/sec
for..of 6746.2 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;