Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3773.0 Safari/537.36
Chrome 76
Windows 8.1
Desktop
5 years ago
Test name Executions per second
foreach 5641.7 Ops/sec
for 3122.1 Ops/sec
map 5601.1 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;