Test name | Executions per second |
---|---|
lodash.each | 4658.8 Ops/sec |
native for-of w/ entries | 1912.3 Ops/sec |
native forEach w/ entries | 1840.3 Ops/sec |
vanilla for-loop w/ Object.keys | 1166.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1942.6 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 55669.6 Ops/sec |
native forEach w/ Object.values (no keys) | 35726.5 Ops/sec |
native for-in | 582.1 Ops/sec |