[openssl/tools] 307905: add basic rw lock performance test

Neil Horman noreply at github.com
Wed Apr 24 17:21:30 UTC 2024


  Branch: refs/heads/master
  Home:   https://github.com/openssl/tools
  Commit: 3079057789e78f63c72bd61785bde15fabdd2c46
      https://github.com/openssl/tools/commit/3079057789e78f63c72bd61785bde15fabdd2c46
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M perf/Makefile
    A perf/rwlocks.c

  Log Message:
  -----------
  add basic rw lock performance test

Add a test to iteratively call [read|write] lock/unlock and see how many
iterations we can get through for a given number of threads

Also accepts an environment variable LOCK_WRITERS to designate how many
of the started threads should be write threads vs read threads

Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/tools/pull/168)


  Commit: 291a580209449f6aebf34e433f3b5f9afbd44c2b
      https://github.com/openssl/tools/commit/291a580209449f6aebf34e433f3b5f9afbd44c2b
  Author: Neil Horman <nhorman at openssl.org>
  Date:   2024-04-24 (Wed, 24 Apr 2024)

  Changed paths:
    M perf/README
    M perf/rwlocks.c

  Log Message:
  -----------
  Fix up stylistic errors

Reviewed-by: Paul Dale <ppzgs1 at gmail.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/tools/pull/168)


Compare: https://github.com/openssl/tools/compare/f6a78a269c53...291a58020944

To unsubscribe from these emails, change your notification settings at https://github.com/openssl/tools/settings/notifications


More information about the openssl-commits mailing list