Test name | Executions per second |
---|---|
lodash.each | 1566.4 Ops/sec |
native for-of w/ entries | 540.3 Ops/sec |
native forEach w/ entries | 715.0 Ops/sec |
vanilla for-loop w/ Object.keys | 1477.7 Ops/sec |
vanilla for-loop w/ Object.entries | 550.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 3197.9 Ops/sec |
native forEach w/ Object.values (no keys) | 3062.1 Ops/sec |
native for-in | 452.8 Ops/sec |