Test name | Executions per second |
---|---|
.forEach | 51.6 Ops/sec |
for..of | 74.7 Ops/sec |
for..of (destructuring) | 54.5 Ops/sec |
.map | 66.2 Ops/sec |
.map (destructuring) | 66.2 Ops/sec |
.for (init array) | 103.7 Ops/sec |
.reduce | 72.7 Ops/sec |
.reduce (destructuring) | 75.6 Ops/sec |
for..of (reduce) | 74.0 Ops/sec |
for..of (reduce) (destructuring) | 74.8 Ops/sec |