Latency and throughput benchmarks
diff --git a/configure.py b/configure.py
index 7a82481..4b1e93f 100755
--- a/configure.py
+++ b/configure.py
@@ -17,6 +17,10 @@
with build.options(source_dir="test", deps=[build, build.deps.googletest]):
build.unittest("pthreadpool-test", build.cxx("pthreadpool.cc"))
+ with build.options(source_dir="bench", deps=[build, build.deps.googlebenchmark]):
+ build.benchmark("latency-bench", build.cxx("latency.cc"))
+ build.benchmark("throughput-bench", build.cxx("throughput.cc"))
+
return build