Test name | Executions per second |
---|---|
lodash.each | 3997.6 Ops/sec |
native for-of w/ entries | 1305.6 Ops/sec |
native forEach w/ entries | 1259.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1069.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1281.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 49780.0 Ops/sec |
native forEach w/ Object.values (no keys) | 23563.1 Ops/sec |
native for-in | 534.4 Ops/sec |