Object.entries vs _.toPairsFastest: _.toPairs (1.2x faster)
8,314,413 ops/sec
6,772,420 ops/sec
Results show median performance across all community submissions. Run this benchmark yourself to verify on your device.
| Test case name | Result |
|---|---|
| Object.entries | |
| _.toPairs |
| Test name | Executions per second |
|---|---|
| ✓ _.toPairs | 16,118,042 Ops/sec |
| Object.entries | 10,106,595 Ops/sec |