From: Alessio Podda Date: Fri, 31 Oct 2025 12:16:03 +0000 (+0000) Subject: fix: usr: Skip buffer allocations if not logging X-Git-Tag: v9.21.15~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8f0898d2dc0978cf2235c121908df691fc19b6e;p=thirdparty%2Fbind9.git fix: usr: Skip buffer allocations if not logging Currently, during IXFR we allocate a 2KB buffer for IXFR change logging regardless of the log level. This commit introduces an early check on the log level in dns_diff_print to avoid this. Results in a speedup from 28% in the test case from issue #5442. Merge branch '5442-ixfr-no-log-alloc' into 'main' See merge request isc-projects/bind9!11178 --- a8f0898d2dc0978cf2235c121908df691fc19b6e