Test name | Executions per second |
---|---|
lodash.each | 3278.7 Ops/sec |
native for-of w/ entries | 1235.0 Ops/sec |
native forEach w/ entries | 1123.8 Ops/sec |
vanilla for-loop w/ Object.keys | 992.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1258.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 54854.2 Ops/sec |
native forEach w/ Object.values (no keys) | 24079.2 Ops/sec |
native for-in | 482.7 Ops/sec |