Test name | Executions per second |
---|---|
lodash.each | 3490.2 Ops/sec |
native for-of w/ entries | 1911.9 Ops/sec |
native forEach w/ entries | 934.6 Ops/sec |
vanilla for-loop w/ Object.keys | 1028.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1985.4 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 58847.4 Ops/sec |
native forEach w/ Object.values (no keys) | 37823.2 Ops/sec |
native for-in | 519.1 Ops/sec |