Test name | Executions per second |
---|---|
lodash.each | 3423.4 Ops/sec |
native for-of w/ entries | 2035.3 Ops/sec |
native forEach w/ entries | 1996.7 Ops/sec |
vanilla for-loop w/ Object.keys | 1303.7 Ops/sec |
vanilla for-loop w/ Object.entries | 2047.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 51838.0 Ops/sec |
native forEach w/ Object.values (no keys) | 27232.9 Ops/sec |
native for-in | 648.9 Ops/sec |