Run details:
Mozilla/5.0 (Linux; Android 10; Mi 9 Lite Build/QKQ1.190828.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.152 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/305.1.0.40.120;]
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
foreach 39910.8 Ops/sec
for 2738.5 Ops/sec
map 29145.1 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map