Test name | Executions per second |
---|---|
lodash.each | 7114.0 Ops/sec |
native for-of w/ entries | 4759.0 Ops/sec |
native forEach w/ entries | 4655.3 Ops/sec |
vanilla for-loop w/ Object.keys | 2231.1 Ops/sec |
vanilla for-loop w/ Object.entries | 4815.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 72170.6 Ops/sec |
native forEach w/ Object.values (no keys) | 48279.5 Ops/sec |
native for-in | 1126.9 Ops/sec |