Test name | Executions per second |
---|---|
lodash.each | 2298.3 Ops/sec |
native for-of w/ entries | 889.7 Ops/sec |
native forEach w/ entries | 792.3 Ops/sec |
vanilla for-loop w/ Object.keys | 725.7 Ops/sec |
vanilla for-loop w/ Object.entries | 862.2 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 32704.9 Ops/sec |
native forEach w/ Object.values (no keys) | 18380.1 Ops/sec |
native for-in | 353.6 Ops/sec |