Run details:
Mozilla/5.0 (Android 12; Mobile; rv:104.0) Gecko/104.0 Firefox/104.0
Firefox Mobile 104
Android
Mobile
2 years ago
Test name Executions per second
foreach 79.4 Ops/sec
for 488.0 Ops/sec
map 31.9 Ops/sec
while 488.8 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map

  • while