Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Chrome 58
Mac OS X 10.12.4
Other
7 years ago
Test name Executions per second
foreach 5938.1 Ops/sec
map 937.0 Ops/sec
for of transpiled 95829.5 Ops/sec
reduce 3996.6 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • map

  • for of transpiled

  • reduce

  • for of


;