Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36
Chrome 62
Linux
Other
7 years ago
Test name Executions per second
for..in 95004.8 Ops/sec
foreach 611554.1 Ops/sec
some 4006960.0 Ops/sec
for 73467.0 Ops/sec
for with predefined size 144222.8 Ops/sec
while 2031879.2 Ops/sec
Script Preparation code:
Tests:
  • for..in

  • foreach

  • some

  • for

  • for with predefined size

  • while


;