Test name | Executions per second |
---|---|
lodash.each | 2049.6 Ops/sec |
native for-of w/ entries | 1031.2 Ops/sec |
native forEach w/ entries | 1482.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2835.4 Ops/sec |
vanilla for-loop w/ Object.entries | 1260.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 7869.5 Ops/sec |
native forEach w/ Object.values (no keys) | 6265.7 Ops/sec |
native for-in | 502.5 Ops/sec |