Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.67 Safari/537.36
Chrome 87
Fedora
Desktop
3 years ago
Test name Executions per second
foreach 15579.1 Ops/sec
for 8507.4 Ops/sec
map 14754.4 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map