Test name | Executions per second |
---|---|
lodash.each | 3437.2 Ops/sec |
native for-of w/ entries | 1378.2 Ops/sec |
native forEach w/ entries | 1259.8 Ops/sec |
vanilla for-loop w/ Object.keys | 1233.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1344.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40532.1 Ops/sec |
native forEach w/ Object.values (no keys) | 24464.2 Ops/sec |
native for-in | 636.9 Ops/sec |