Test name | Executions per second |
---|---|
lodash.each | 3525.8 Ops/sec |
native for-of w/ entries | 1170.8 Ops/sec |
native forEach w/ entries | 1738.0 Ops/sec |
vanilla for-loop w/ Object.keys | 968.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1676.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 32055.7 Ops/sec |
native forEach w/ Object.values (no keys) | 38406.9 Ops/sec |
native for-in | 506.8 Ops/sec |