Test name | Executions per second |
---|---|
lodash.each | 3529.1 Ops/sec |
native for-of w/ entries | 1385.9 Ops/sec |
native forEach w/ entries | 1250.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1090.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1392.7 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 60938.7 Ops/sec |
native forEach w/ Object.values (no keys) | 27512.0 Ops/sec |
native for-in | 506.4 Ops/sec |