mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
33c1bdfc3e
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
32 lines
441 B
Makefile
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
|