Test name | Executions per second |
---|---|
lodash.each | 7193.2 Ops/sec |
native for-of w/ entries | 3847.8 Ops/sec |
native forEach w/ entries | 3945.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1798.0 Ops/sec |
vanilla for-loop w/ Object.entries | 2744.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 62183.8 Ops/sec |
native forEach w/ Object.values (no keys) | 65850.2 Ops/sec |
native for-in | 982.3 Ops/sec |