Test name | Executions per second |
---|---|
lodash.each | 6968.3 Ops/sec |
native for-of w/ entries | 4505.4 Ops/sec |
native forEach w/ entries | 4361.5 Ops/sec |
vanilla for-loop w/ Object.keys | 2184.2 Ops/sec |
vanilla for-loop w/ Object.entries | 4501.5 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 69483.0 Ops/sec |
native forEach w/ Object.values (no keys) | 48508.7 Ops/sec |
native for-in | 1099.9 Ops/sec |