Test name | Executions per second |
---|---|
lodash.each | 3134.4 Ops/sec |
native for-of w/ entries | 1425.0 Ops/sec |
native forEach w/ entries | 1282.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1256.6 Ops/sec |
vanilla for-loop w/ Object.entries | 1426.8 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 40564.1 Ops/sec |
native forEach w/ Object.values (no keys) | 24190.3 Ops/sec |
native for-in | 636.8 Ops/sec |