Test name | Executions per second |
---|---|
.forEach | 7.4 Ops/sec |
for..of | 9.8 Ops/sec |
for..of (destructuring) | 7.7 Ops/sec |
.map | 7.7 Ops/sec |
.map (destructuring) | 6.9 Ops/sec |
.for (init array) | 11.4 Ops/sec |
.reduce | 9.4 Ops/sec |
.reduce (destructuring) | 10.8 Ops/sec |
for..of (reduce) | 12.5 Ops/sec |
for..of (reduce) (destructuring) | 9.3 Ops/sec |