Test name | Executions per second |
---|---|
reduce with new array | 7.1 Ops/sec |
reduce with array mutation | 19090.0 Ops/sec |
flatMap | 330.6 Ops/sec |
for | 781.8 Ops/sec |
for-of | 23622.9 Ops/sec |
map | 27197.0 Ops/sec |
forEach | 19834.1 Ops/sec |
values (iterates over for-of) | 24433.1 Ops/sec |