Test name | Executions per second |
---|---|
lodash.each | 3457.2 Ops/sec |
native for-of w/ entries | 1016.9 Ops/sec |
native forEach w/ entries | 935.8 Ops/sec |
vanilla for-loop w/ Object.keys | 894.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1017.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 35280.7 Ops/sec |
native forEach w/ Object.values (no keys) | 20384.5 Ops/sec |
native for-in | 410.7 Ops/sec |