Test name | Executions per second |
---|---|
lodash.each | 4589.9 Ops/sec |
native for-of w/ entries | 2350.6 Ops/sec |
native forEach w/ entries | 2397.3 Ops/sec |
vanilla for-loop w/ Object.keys | 994.4 Ops/sec |
vanilla for-loop w/ Object.entries | 2297.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 48807.9 Ops/sec |
native forEach w/ Object.values (no keys) | 53306.1 Ops/sec |
native for-in | 602.4 Ops/sec |