Test name | Executions per second |
---|---|
lodash.each | 2693.5 Ops/sec |
native for-of w/ entries | 1177.2 Ops/sec |
native forEach w/ entries | 1050.6 Ops/sec |
vanilla for-loop w/ Object.keys | 989.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1183.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 38840.6 Ops/sec |
native forEach w/ Object.values (no keys) | 18131.9 Ops/sec |
native for-in | 516.4 Ops/sec |