Test name | Executions per second |
---|---|
lodash.each | 3131.3 Ops/sec |
native for-of w/ entries | 1195.8 Ops/sec |
native forEach w/ entries | 1114.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1097.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1220.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 45676.6 Ops/sec |
native forEach w/ Object.values (no keys) | 22613.6 Ops/sec |
native for-in | 519.2 Ops/sec |