Test name | Executions per second |
---|---|
lodash.each | 3045.6 Ops/sec |
native for-of w/ entries | 1131.2 Ops/sec |
native forEach w/ entries | 1005.9 Ops/sec |
vanilla for-loop w/ Object.keys | 1028.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1101.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 42761.8 Ops/sec |
native forEach w/ Object.values (no keys) | 20031.9 Ops/sec |
native for-in | 520.6 Ops/sec |