Test name | Executions per second |
---|---|
lodash.each | 685.5 Ops/sec |
native for-of w/ entries | 204.6 Ops/sec |
native forEach w/ entries | 345.0 Ops/sec |
vanilla for-loop w/ Object.keys | 843.6 Ops/sec |
vanilla for-loop w/ Object.entries | 320.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 1885.9 Ops/sec |
native forEach w/ Object.values (no keys) | 1703.3 Ops/sec |
native for-in | 340.7 Ops/sec |