_.flattenDeep vs // Native vs Native(ES2019) vs native 2Fastest: _.flattenDeep (5.9x faster)
6,729,920 ops/sec
5,801,457 ops/sec
1,279,577 ops/sec
1,138,194 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| _.flattenDeep | |
| // Native | |
| Native(ES2019) | |
| native 2 |
| Test name | Executions per second |
|---|---|
| ✓ _.flattenDeep | 18,807,174 Ops/sec |
| Native(ES2019) | 13,471,334 Ops/sec |
| native 2 | 4,616,020 Ops/sec |
| // Native | 4,307,239 Ops/sec |