Test case name | Result |
---|---|
for | |
for of | |
for in | |
forEach | |
for 2 | |
while with shift | |
while | |
while with length reduction | |
for reverse |
Test name | Executions per second |
---|---|
for | 27332470.0 Ops/sec |
for of | 21128240.0 Ops/sec |
for in | 3902594.0 Ops/sec |
forEach | 20965970.0 Ops/sec |
for 2 | 28488180.0 Ops/sec |
while with shift | 1532722.0 Ops/sec |
while | 27553510.0 Ops/sec |
while with length reduction | 27727570.0 Ops/sec |
for reverse | 15509860.0 Ops/sec |