Test name | Executions per second |
---|---|
lodash.each | 3788.1 Ops/sec |
native for-of w/ entries | 1305.9 Ops/sec |
native forEach w/ entries | 1203.4 Ops/sec |
vanilla for-loop w/ Object.keys | 1093.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1310.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 42355.1 Ops/sec |
native forEach w/ Object.values (no keys) | 27379.0 Ops/sec |
native for-in | 553.1 Ops/sec |