Test name | Executions per second |
---|---|
.forEach | 5.4 Ops/sec |
for..of | 4.9 Ops/sec |
for..of (destructuring) | 4.4 Ops/sec |
.map | 4.9 Ops/sec |
.map (destructuring) | 4.9 Ops/sec |
.for (init array) | 5.4 Ops/sec |
.reduce | 5.3 Ops/sec |
.reduce (destructuring) | 5.3 Ops/sec |
for..of (reduce) | 5.0 Ops/sec |
for..of (reduce) (destructuring) | 5.0 Ops/sec |