Test name | Executions per second |
---|---|
lodash.each | 1673.8 Ops/sec |
native for-of w/ entries | 678.5 Ops/sec |
native forEach w/ entries | 977.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1964.1 Ops/sec |
vanilla for-loop w/ Object.entries | 729.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 4469.5 Ops/sec |
native forEach w/ Object.values (no keys) | 3644.2 Ops/sec |
native for-in | 410.7 Ops/sec |