Test name | Executions per second |
---|---|
lodash.each | 3063.2 Ops/sec |
native for-of w/ entries | 964.5 Ops/sec |
native forEach w/ entries | 879.1 Ops/sec |
vanilla for-loop w/ Object.keys | 793.4 Ops/sec |
vanilla for-loop w/ Object.entries | 964.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 28290.2 Ops/sec |
native forEach w/ Object.values (no keys) | 14448.6 Ops/sec |
native for-in | 403.0 Ops/sec |