From 3678c2ee7c11d67f4ea97c85d8564cd386a32bd1 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Wed, 27 Nov 2024 20:19:32 -0500 Subject: bench/ioq: New ioq microbenchmark --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b0d6e46..8a7b270 100644 --- a/Makefile +++ b/Makefile @@ -45,7 +45,8 @@ BINS := \ bin/tests/mksock \ bin/tests/units \ bin/tests/xspawnee \ - bin/tests/xtouch + bin/tests/xtouch \ + bin/bench/ioq all: ${BINS} .PHONY: all @@ -215,6 +216,14 @@ ${DISTCHECKS}:: && ${MAKE} check TEST_FLAGS="--sudo --verbose=skipped" @test "$${GITHUB_ACTIONS-}" != true || printf '::endgroup::\n' +## Benchmarks (`make bench`) + +bench: bin/bench/ioq +.PHONY: bench + +bin/bench/ioq: obj/bench/ioq.o ${LIBBFS} +OBJS += obj/bench/ioq.o + ## Automatic dependency tracking # Rebuild when the configuration changes -- cgit v1.2.3