Test name | Executions per second |
---|---|
.forEach | 2.8 Ops/sec |
for..of | 3.8 Ops/sec |
for..of (destructuring) | 3.6 Ops/sec |
.map | 3.0 Ops/sec |
.map (destructuring) | 3.0 Ops/sec |
.for (init array) | 3.7 Ops/sec |
.reduce | 3.5 Ops/sec |
.reduce (destructuring) | 3.1 Ops/sec |
for..of (reduce) | 3.6 Ops/sec |
for..of (reduce) (destructuring) | 3.6 Ops/sec |