Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 PureBrowser/60.9.0
Firefox 60
Linux
Desktop
4 years ago
Test name Executions per second
foreach 126.8 Ops/sec
for 108.3 Ops/sec
map 32.2 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map