Run details:
Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Chrome 57
Fedora
Other
7 years ago
Test name Executions per second
while 3766.5 Ops/sec
for 2641.4 Ops/sec
for 2 3529.7 Ops/sec
for 3 7543.1 Ops/sec
for 4 3854.1 Ops/sec
Script Preparation code:
Tests:
  • while

  • for

  • for 2

  • for 3

  • for 4


;