Test name | Executions per second |
---|---|
lodash.each | 3529.4 Ops/sec |
native for-of w/ entries | 1557.5 Ops/sec |
native forEach w/ entries | 2002.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1299.8 Ops/sec |
vanilla for-loop w/ Object.entries | 2064.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 63467.1 Ops/sec |
native forEach w/ Object.values (no keys) | 42962.7 Ops/sec |
native for-in | 651.5 Ops/sec |