Run details:
Mozilla/5.0 (Linux; Android 4.4.2; Nexus 4 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.114 Mobile Safari/537.36
Chrome Mobile 34
Android 4.4.2
Mobile
one year ago
Test name Executions per second
for 63653.6 Ops/sec
foreach 3550663.8 Ops/sec
for in 2674720.8 Ops/sec
for..of 109298.6 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of