perf: Avoid taking too long time with high thread counts
authorTomas Mraz <tomas@openssl.org>
Thu, 18 Jan 2024 13:44:13 +0000 (14:44 +0100)
committerTomas Mraz <tomas@openssl.org>
Thu, 18 Jan 2024 15:53:05 +0000 (16:53 +0100)
commitf86e03b3fd7721fc79478b9c2f6c1b5b34596dd5
treeaf4f121e037a2bd511cf5840db6917237b91f85a
parent579bcdc9b140b54c086451a3b7dbb8d143ebf5e7
perf: Avoid taking too long time with high thread counts

We change the tests to perform the same number
of iterations regardless of the thread counts.
Although this raises the running time for small
number of threads, this avoids very long running
times for 100 or more threads.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/tools/pull/162)
perf/README
perf/handshake.c
perf/newrawkey.c
perf/pemread.c
perf/providerdoall.c
perf/randbytes.c
perf/rsasign.c
perf/sslnew.c
perf/x509storeissuer.c