Test name | Executions per second |
---|---|
.forEach | 48.8 Ops/sec |
for..of | 62.2 Ops/sec |
for..of (destructuring) | 43.7 Ops/sec |
.map | 40.1 Ops/sec |
.map (destructuring) | 37.0 Ops/sec |
.for (init array) | 83.1 Ops/sec |
.reduce | 63.2 Ops/sec |
.reduce (destructuring) | 61.8 Ops/sec |
for..of (reduce) | 68.1 Ops/sec |
for..of (reduce) (destructuring) | 68.0 Ops/sec |