Test name | Executions per second |
---|---|
.forEach | 10.6 Ops/sec |
for..of | 15.3 Ops/sec |
for..of (destructuring) | 9.9 Ops/sec |
.map | 9.7 Ops/sec |
.map (destructuring) | 9.6 Ops/sec |
.for (init array) | 17.3 Ops/sec |
.reduce | 17.2 Ops/sec |
.reduce (destructuring) | 16.3 Ops/sec |
for..of (reduce) | 16.6 Ops/sec |
for..of (reduce) (destructuring) | 15.7 Ops/sec |