Test name | Executions per second |
---|---|
lodash.each | 8973.9 Ops/sec |
native for-of w/ entries | 4771.6 Ops/sec |
native forEach w/ entries | 4929.2 Ops/sec |
vanilla for-loop w/ Object.keys | 2923.5 Ops/sec |
vanilla for-loop w/ Object.entries | 4733.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 62532.8 Ops/sec |
native forEach w/ Object.values (no keys) | 61942.8 Ops/sec |
native for-in | 1474.9 Ops/sec |