[openssl/tools] 579bcd: perf/pemread.c: Divide per-thread iteration count ...

Tomáš Mráz noreply at github.com
Thu Jan 18 15:55:52 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/tools
  Commit: 579bcdc9b140b54c086451a3b7dbb8d143ebf5e7
      https://github.com/openssl/tools/commit/579bcdc9b140b54c086451a3b7dbb8d143ebf5e7
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M perf/pemread.c

  Log Message:
  -----------
  perf/pemread.c: Divide per-thread iteration count by threadcount

Otherwise with larger number of threads it takes too long
to run.

Reviewed-by: Matt Caswell <matt at openssl.org>
(Merged from https://github.com/openssl/tools/pull/162)


  Commit: f86e03b3fd7721fc79478b9c2f6c1b5b34596dd5
      https://github.com/openssl/tools/commit/f86e03b3fd7721fc79478b9c2f6c1b5b34596dd5
  Author: Tomas Mraz <tomas at openssl.org>
  Date:   2024-01-18 (Thu, 18 Jan 2024)

  Changed paths:
    M perf/README
    M perf/handshake.c
    M perf/newrawkey.c
    M perf/pemread.c
    M perf/providerdoall.c
    M perf/randbytes.c
    M perf/rsasign.c
    M perf/sslnew.c
    M perf/x509storeissuer.c

  Log Message:
  -----------
  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 at openssl.org>
(Merged from https://github.com/openssl/tools/pull/162)


Compare: https://github.com/openssl/tools/compare/9bf20f9e8f90...f86e03b3fd77


More information about the openssl-commits mailing list