Test name | Executions per second |
---|---|
lodash.each | 3303.8 Ops/sec |
native for-of w/ entries | 1291.1 Ops/sec |
native forEach w/ entries | 1166.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1219.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1276.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40251.1 Ops/sec |
native forEach w/ Object.values (no keys) | 24180.7 Ops/sec |
native for-in | 603.3 Ops/sec |