Test name | Executions per second |
---|---|
lodash.each | 1298.3 Ops/sec |
native for-of w/ entries | 788.8 Ops/sec |
native forEach w/ entries | 740.3 Ops/sec |
vanilla for-loop w/ Object.keys | 564.3 Ops/sec |
vanilla for-loop w/ Object.entries | 777.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 25316.7 Ops/sec |
native forEach w/ Object.values (no keys) | 10271.3 Ops/sec |
native for-in | 232.3 Ops/sec |