freebsd-src/tests/sys/netinet/libalias/Makefile
Lutz Donnerhacke 33c1bdfc3e tests/libalias: Add perfomance test utility
In order to compare upcoming changes for their effectivness, measure
performance by counting opertions and the runtime of each operation
over the time.  Accumulate all tests in a single instance, so make it
complicated over the time.  If you wait long enough, you will notice
the expiry of old flows.

Reviewed by:	kp (earlier version)
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D30379
2021-05-22 23:45:42 +02:00

32 lines
441 B
Makefile

# $FreeBSD$
PACKAGE= tests
TESTSDIR= ${TESTSBASE}/sys/netinet/libalias
BINDIR= ${TESTSDIR}
ATF_TESTS_C+= 1_instance \
2_natout \
PROGS+= perf
LIBADD+= alias
SRCS.1_instance=1_instance.c util.c
SRCS.2_natout= 2_natout.c util.c
SRCS.perf= perf.c util.c
.include <bsd.test.mk>
#
# Testing during development
#
test: all
cd ${.OBJDIR}; kyua test
report:
cd ${.OBJDIR}; kyua report
report-v:
cd ${.OBJDIR}; kyua report --verbose