Run details:
Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 YaBrowser/18.9.0.3409 Yowser/2.5 Safari/537.36
Yandex Browser 18
Windows 8.1
Desktop
6 years ago
Test name Executions per second
foreach 7016.4 Ops/sec
for 3583.4 Ops/sec
map 6716.4 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;