Test name | Executions per second |
---|---|
lodash.each | 2857.0 Ops/sec |
native for-of w/ entries | 1134.5 Ops/sec |
native forEach w/ entries | 981.2 Ops/sec |
vanilla for-loop w/ Object.keys | 960.9 Ops/sec |
vanilla for-loop w/ Object.entries | 1111.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40980.5 Ops/sec |
native forEach w/ Object.values (no keys) | 14061.3 Ops/sec |
native for-in | 457.4 Ops/sec |