Test name | Executions per second |
---|---|
lodash.each | 2121.7 Ops/sec |
native for-of w/ entries | 832.2 Ops/sec |
native forEach w/ entries | 1202.6 Ops/sec |
vanilla for-loop w/ Object.keys | 2451.2 Ops/sec |
vanilla for-loop w/ Object.entries | 902.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 5418.5 Ops/sec |
native forEach w/ Object.values (no keys) | 4021.1 Ops/sec |
native for-in | 577.0 Ops/sec |