Test name | Executions per second |
---|---|
lodash.each | 2983.5 Ops/sec |
native for-of w/ entries | 1190.7 Ops/sec |
native forEach w/ entries | 1078.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1047.9 Ops/sec |
vanilla for-loop w/ Object.entries | 1188.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 34332.6 Ops/sec |
native forEach w/ Object.values (no keys) | 21155.7 Ops/sec |
native for-in | 509.4 Ops/sec |