From: Loup Vaillant Date: Fri, 25 Oct 2019 17:42:14 +0000 (+0200) Subject: Documented LibHydrogen speed benchmark X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=a38e03517212603f219568cc6d38e406e6d86577;p=Monocypher.git Documented LibHydrogen speed benchmark --- 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`):