Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4263.3 Safari/537.36 OPR/73.0.3827.0 (Edition developer)
Opera 73
Windows
Desktop
4 years ago
Test name Executions per second
foreach 10379.0 Ops/sec
for 5488.0 Ops/sec
map 9927.3 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;