Test name | Executions per second |
---|---|
lodash.each | 2289.2 Ops/sec |
native for-of w/ entries | 1736.6 Ops/sec |
native forEach w/ entries | 1419.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1251.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1738.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 28391.5 Ops/sec |
native forEach w/ Object.values (no keys) | 15536.8 Ops/sec |
native for-in | 605.9 Ops/sec |