summaryrefslogtreecommitdiff
path: root/test/Jamfile.jam
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2025-08-25 15:21:43 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2025-08-25 16:02:53 +0100
commitee7f2eb027c272427519b8a9d02b62a7411bf344 (patch)
tree1fb9388afbf6e0ddafa431a43d1a8010cca9485b /test/Jamfile.jam
parent3d6c2f43932bf8930ea0b1a53f6ebe048c7803bc (diff)
downloadwebstat-ee7f2eb027c272427519b8a9d02b62a7411bf344.tar.bz2
webstat-ee7f2eb027c272427519b8a9d02b62a7411bf344.tar.xz
webstat-ee7f2eb027c272427519b8a9d02b62a7411bf344.zip
Add an ingestor performance test
Generates a random long file of random data and then ingests it.
Diffstat (limited to 'test/Jamfile.jam')
-rw-r--r--test/Jamfile.jam12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/Jamfile.jam b/test/Jamfile.jam
index 0741a65..0542a73 100644
--- a/test/Jamfile.jam
+++ b/test/Jamfile.jam
@@ -1,3 +1,4 @@
+lib benchmark : : <link>shared ;
lib boost_unit_test_framework : : <link>shared ;
lib dbpptestcore : : <link>shared ;
lib stdc++fs ;
@@ -28,3 +29,14 @@ run test-ingest.cpp :
<library>dbpptestcore
<library>stdc++fs
;
+
+exe perf-ingest : perf-ingest.cpp :
+ <library>test-util
+ <library>$(src)//webstat
+ <library>..//dbpp-postgresql
+ <library>benchmark
+ <library>dbpptestcore
+ <library>stdc++fs
+ ;
+explicit run-perf-ingest ;
+run perf-ingest : : : : run-perf-ingest ;