Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G611MT) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
2 years ago
Test name Executions per second
foreach 1.0 Ops/sec
for 0.6 Ops/sec
map 0.7 Ops/sec
while 0.6 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map

  • while