Test name | Executions per second |
---|---|
lodash.each | 4152.3 Ops/sec |
native for-of w/ entries | 1462.5 Ops/sec |
native forEach w/ entries | 1241.2 Ops/sec |
vanilla for-loop w/ Object.keys | 1074.3 Ops/sec |
vanilla for-loop w/ Object.entries | 1527.3 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 50814.9 Ops/sec |
native forEach w/ Object.values (no keys) | 19107.9 Ops/sec |
native for-in | 497.1 Ops/sec |