Test name | Executions per second |
---|---|
lodash.each | 8334.3 Ops/sec |
native for-of w/ entries | 4247.2 Ops/sec |
native forEach w/ entries | 4421.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2532.4 Ops/sec |
vanilla for-loop w/ Object.entries | 4265.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 54827.4 Ops/sec |
native forEach w/ Object.values (no keys) | 54788.3 Ops/sec |
native for-in | 1257.6 Ops/sec |