From a38e03517212603f219568cc6d38e406e6d86577 Mon Sep 17 00:00:00 2001 From: Loup Vaillant Date: Fri, 25 Oct 2019 19:42:14 +0200 Subject: [PATCH] Documented LibHydrogen speed benchmark --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1489645..d079547 100644 --- a/README.md +++ b/README.md @@ -129,10 +129,14 @@ not sure, you can always switch later. Note: the speed benchmark currently requires the POSIX `clock_gettime()` function. -There are similar benchmarks for Libsodium and TweetNaCl: +There are similar benchmarks for Libsodium, TweetNaCl, and LibHydrogen: $ make speed-sodium $ make speed-tweetnacl + $ make speed-hydrogen + +(The `speed-hydrogen` target assumes it has pkg-config installed. Try +`make pkg-config-libhydrogen` as root if it is not.) You can also adjust the optimisation options for Monocypher and TweetNaCl (the default is `-O3 march=native`): -- 2.47.3