Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:60.0) Gecko/20100101 Firefox/60.0
Firefox 60
Mac OS X 10.13
Desktop
5 years ago
Test name Executions per second
foreach 282516.8 Ops/sec
for 160671.6 Ops/sec
map 97192.4 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;