Run details:
Mozilla/5.0 (Linux; Android 9; TA-1012) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.112 Mobile Safari/537.36
Chrome Mobile 74
Android
Mobile
5 years ago
Test name Executions per second
foreach 25906.3 Ops/sec
for 2861.7 Ops/sec
map 22058.2 Ops/sec
for-of 2787.1 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map

  • for-of


;