Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/534.24 (KHTML, like Gecko) Chrome/71.0.3578.141 Safari/534.24 XiaoMi/MiuiBrowser/12.8.1-gn
Chrome 71
Linux
Desktop
3 years ago
Test name Executions per second
foreach 8138.1 Ops/sec
for 4123.8 Ops/sec
map 7617.7 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;