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

  • for

  • map


;