Test name | Executions per second |
---|---|
lodash.each | 2814.8 Ops/sec |
native for-of w/ entries | 1429.2 Ops/sec |
native forEach w/ entries | 1459.3 Ops/sec |
vanilla for-loop w/ Object.keys | 1034.5 Ops/sec |
vanilla for-loop w/ Object.entries | 1448.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 30629.8 Ops/sec |
native forEach w/ Object.values (no keys) | 33111.5 Ops/sec |
native for-in | 492.2 Ops/sec |