Test name | Executions per second |
---|---|
lodash.each | 3142.2 Ops/sec |
native for-of w/ entries | 1118.7 Ops/sec |
native forEach w/ entries | 1705.8 Ops/sec |
vanilla for-loop w/ Object.keys | 3670.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1186.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 17344.9 Ops/sec |
native forEach w/ Object.values (no keys) | 10834.1 Ops/sec |
native for-in | 692.4 Ops/sec |