Test name | Executions per second |
---|---|
lodash.each | 4297.5 Ops/sec |
native for-of w/ entries | 1430.5 Ops/sec |
native forEach w/ entries | 1299.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1093.9 Ops/sec |
vanilla for-loop w/ Object.entries | 1459.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 52056.1 Ops/sec |
native forEach w/ Object.values (no keys) | 30122.6 Ops/sec |
native for-in | 536.9 Ops/sec |