Test name | Executions per second |
---|---|
lodash.each | 1874.3 Ops/sec |
native for-of w/ entries | 1134.1 Ops/sec |
native forEach w/ entries | 958.6 Ops/sec |
vanilla for-loop w/ Object.keys | 751.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1151.9 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 17509.0 Ops/sec |
native forEach w/ Object.values (no keys) | 9531.5 Ops/sec |
native for-in | 379.3 Ops/sec |