Test name | Executions per second |
---|---|
lodash.each | 3508.8 Ops/sec |
native for-of w/ entries | 1287.1 Ops/sec |
native forEach w/ entries | 1173.5 Ops/sec |
vanilla for-loop w/ Object.keys | 1123.7 Ops/sec |
vanilla for-loop w/ Object.entries | 1344.0 Ops/sec |
vanilla for-loop w/ Object.values (no keys) | 39393.5 Ops/sec |
native forEach w/ Object.values (no keys) | 18241.7 Ops/sec |
native for-in | 532.2 Ops/sec |