flatMap vs reduce with push vs loop with push vs filter/map| Test case name | Result |
|---|---|
| flatMap | |
| reduce with push | |
| loop with push | |
| filter/map |
| Test name | Executions per second |
|---|---|
| ✓ loop with push | 11,445 Ops/sec |
| reduce with push | 6,013 Ops/sec |
| filter/map | 5,689 Ops/sec |
| flatMap | 4,438 Ops/sec |