aboutsummaryrefslogtreecommitdiff
path: root/benchtests/Makefile
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2022-07-21 10:05:01 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-07-22 11:58:27 -0300
commit5d765ada01d140d8d1ecf94953a4751593af720d (patch)
treeec344761c986ebc53ae613c0417a929bfc1381b2 /benchtests/Makefile
parent8dd890d96f1833a58de6e112a14d63ab44e0a402 (diff)
downloadglibc-5d765ada01d140d8d1ecf94953a4751593af720d.tar
glibc-5d765ada01d140d8d1ecf94953a4751593af720d.tar.gz
glibc-5d765ada01d140d8d1ecf94953a4751593af720d.tar.bz2
glibc-5d765ada01d140d8d1ecf94953a4751593af720d.zip
benchtests: Add arc4random benchtest
It shows both throughput (total bytes obtained in the test duration) and latecy for both arc4random and arc4random_buf with different sizes. Checked on x86_64-linux-gnu, aarch64-linux, and powerpc64le-linux-gnu.
Diffstat (limited to 'benchtests/Makefile')
-rw-r--r--benchtests/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/benchtests/Makefile b/benchtests/Makefile
index c279041e19..d99771be74 100644
--- a/benchtests/Makefile
+++ b/benchtests/Makefile
@@ -233,7 +233,10 @@ hash-benchset := \
nss-hash \
# hash-benchset
-stdlib-benchset := strtod
+stdlib-benchset := \
+ arc4random \
+ strtod \
+ # stdlib-benchset
stdio-common-benchset := sprintf