Run details:
Mozilla/5.0 (Linux; Android 10; ONEPLUS A5000 Build/QKQ1.191014.012; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/88.0.4324.181 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/306.1.0.40.119;]
Chrome Mobile 88
Android
Mobile
3 years ago
Test name Executions per second
foreach 30579.2 Ops/sec
for 2424.9 Ops/sec
map 23926.4 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map