mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-02-26 11:41:50 +01:00
perf top shows that we spend a lot of time trying to read item->type in the lookup loop, because the node is placed after the very long name, so when the node is found, no data is in the cache yet. Let's simply move the node upper in the struct. This results in the CPU usage of resolv_validate_dns_response() to drop by 4 points.