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 279.7 Ops/sec
for 125.7 Ops/sec
map 72.4 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;