Test name | Executions per second |
---|---|
lodash.each | 4009.6 Ops/sec |
native for-of w/ entries | 2228.9 Ops/sec |
native forEach w/ entries | 2000.1 Ops/sec |
vanilla for-loop w/ Object.keys | 1453.1 Ops/sec |
vanilla for-loop w/ Object.entries | 2392.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 52051.3 Ops/sec |
native forEach w/ Object.values (no keys) | 29794.8 Ops/sec |
native for-in | 718.8 Ops/sec |