Test case name | Result |
---|---|
for i of | |
for i in | |
for i length first | |
for i length every | |
while crazy | |
while boring | |
slice |
Test name | Executions per second |
---|---|
for i of | 38362430.0 Ops/sec |
for i in | 2054275.0 Ops/sec |
for i length first | 46811650.0 Ops/sec |
for i length every | 47680220.0 Ops/sec |
while crazy | 40141140.0 Ops/sec |
while boring | 39310490.0 Ops/sec |
slice | 200015900.0 Ops/sec |