Test name | Executions per second |
---|---|
lodash.each | 2887.1 Ops/sec |
native for-of w/ entries | 1165.8 Ops/sec |
native forEach w/ entries | 1084.8 Ops/sec |
vanilla for-loop w/ Object.keys | 922.1 Ops/sec |
vanilla for-loop w/ Object.entries | 1167.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 47720.4 Ops/sec |
native forEach w/ Object.values (no keys) | 25928.8 Ops/sec |
native for-in | 431.4 Ops/sec |