Test name | Executions per second |
---|---|
lodash.each | 5776.2 Ops/sec |
native for-of w/ entries | 2850.3 Ops/sec |
native forEach w/ entries | 2868.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1254.2 Ops/sec |
vanilla for-loop w/ Object.entries | 1669.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 49825.4 Ops/sec |
native forEach w/ Object.values (no keys) | 35687.7 Ops/sec |
native for-in | 327.2 Ops/sec |