Test name | Executions per second |
---|---|
lodash.each | 7153.4 Ops/sec |
native for-of w/ entries | 3598.6 Ops/sec |
native forEach w/ entries | 3875.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2055.1 Ops/sec |
vanilla for-loop w/ Object.entries | 3591.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 78738.5 Ops/sec |
native forEach w/ Object.values (no keys) | 63248.0 Ops/sec |
native for-in | 943.9 Ops/sec |