Test name | Executions per second |
---|---|
lodash.each | 2615.2 Ops/sec |
native for-of w/ entries | 1086.0 Ops/sec |
native forEach w/ entries | 1012.0 Ops/sec |
vanilla for-loop w/ Object.keys | 905.8 Ops/sec |
vanilla for-loop w/ Object.entries | 1123.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 39349.0 Ops/sec |
native forEach w/ Object.values (no keys) | 13929.0 Ops/sec |
native for-in | 457.6 Ops/sec |