Run details:
Mozilla/5.0 (Linux; Android 9; SM-J530F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.162 Mobile Safari/537.36
Chrome Mobile 80
Android
Mobile
4 years ago
Test name Executions per second
foreach 131.5 Ops/sec
for 83.3 Ops/sec
map 80.7 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map