Test name | Executions per second |
---|---|
lodash.each | 8954.1 Ops/sec |
native for-of w/ entries | 5256.1 Ops/sec |
native forEach w/ entries | 5566.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2924.9 Ops/sec |
vanilla for-loop w/ Object.entries | 5332.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 80038.0 Ops/sec |
native forEach w/ Object.values (no keys) | 90987.5 Ops/sec |
native for-in | 1475.4 Ops/sec |