bind9/tests/bench/Makefile.am
Evan Hunt e68a691904 add a "qplookups" benchmark test
this loads a file containing DNS names and measures the time it takes to:
1) iterate it,
2) look up each name with dns_qp_getname()
3) look up each name with dns_qp_findname_ancestor()
4) look up a modified name based on the name, to check performance
   when the name is not found.
2023-09-27 16:24:04 -07:00

36 lines
684 B
Makefile

include $(top_srcdir)/Makefile.top
AM_CFLAGS += -Wno-vla
AM_CPPFLAGS += \
$(LIBUV_CFLAGS) \
$(LIBURCU_CFLAGS) \
$(LIBISC_CFLAGS) \
$(LIBDNS_CFLAGS) \
-I$(top_srcdir)/fuzz \
-I$(top_srcdir)/lib/dns \
-I$(top_srcdir)/lib/isc \
-I$(top_srcdir)/tests/include
LDADD += \
$(LIBUV_LIBS) \
$(LIBURCU_LIBS) \
$(LIBISC_LIBS) \
$(LIBDNS_LIBS) \
$(top_builddir)/tests/libtest/libtest.la
noinst_PROGRAMS = \
ascii \
compress \
dns_name_fromwire \
iterated_hash \
load-names \
qp-dump \
qplookups \
qpmulti \
siphash
dns_name_fromwire_SOURCES = \
$(top_builddir)/fuzz/old.c \
$(top_builddir)/fuzz/old.h \
dns_name_fromwire.c