Test name | Executions per second |
---|---|
lodash.each | 2615.4 Ops/sec |
native for-of w/ entries | 1102.3 Ops/sec |
native forEach w/ entries | 1601.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2969.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1165.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 7210.6 Ops/sec |
native forEach w/ Object.values (no keys) | 5964.1 Ops/sec |
native for-in | 743.3 Ops/sec |