Run details:
Mozilla/5.0 (Linux; Android 9; SAMSUNG SM-G955F) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/11.1 Chrome/75.0.3770.143 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
4 years ago
Test name Executions per second
foreach 2087.0 Ops/sec
for 1479.7 Ops/sec
map 1894.9 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map