aboutsummaryrefslogtreecommitdiff
path: root/src/util/do_bench_age_restriction
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2022-09-29 11:59:42 +0200
committerÖzgür Kesim <oec-taler@kesim.org>2022-09-29 11:59:42 +0200
commitadfb7ffd0ef23943f68ee46fd85ebd829c9f65a2 (patch)
tree6ebbac377c38680ec5c92b83994c0bca15a6d1c2 /src/util/do_bench_age_restriction
parent3f901571d5bf088550df4511be64777eece86d4b (diff)
downloadexchange-adfb7ffd0ef23943f68ee46fd85ebd829c9f65a2.tar.xz
added benchmark tool for age restriction
Diffstat (limited to 'src/util/do_bench_age_restriction')
-rwxr-xr-xsrc/util/do_bench_age_restriction8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/util/do_bench_age_restriction b/src/util/do_bench_age_restriction
new file mode 100755
index 000000000..a65713439
--- /dev/null
+++ b/src/util/do_bench_age_restriction
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+gcc bench_age_restriction.c \
+ -lgnunetutil -lgnunetjson -lsodium -ljansson \
+ -L/usr/lib/x86_64-linux-gnu -lmicrohttpd -ltalerutil -lm \
+ -I../include \
+ -o bench_age_restriction && ./bench_age_restriction
+