Improvements in gnutls-cli --benchmark-tls-kx
This improves the output of gnutls-cli --benchmark-tls-kx by increasing precision when necessary and separating the various printed data. Example new output:
(TLS1.3)-(DHE-FFDHE3072)-(RSA-PSS-RSAE-SHA256)-(AES-128-GCM)
- 18.81 transactions/sec
- avg. handshake time: 53.16 ms
- standard deviation: 3.06 ms
(TLS1.3)-(ECDHE-SECP256R1)-(RSA-PSS-SHA256)-(AES-128-GCM)
- 183.62 transactions/sec
- avg. handshake time: 5.44 ms
- standard deviation: 0.65 ms
(TLS1.3)-(ECDHE-X25519)-(ECDSA-SECP256R1-SHA256)-(AES-128-GCM)
- 1369.43 transactions/sec
- avg. handshake time: 724.99 µs
- standard deviation: 108.62 µs
(TLS1.3)-(ECDHE-X25519)-(EdDSA-Ed25519)-(AES-128-GCM)
- 1683.39 transactions/sec
- avg. handshake time: 589.33 µs
- standard deviation: 103.56 µs
Checklist
-
Commits have Signed-off-by:
with name/author being identical to the commit author -
Code modified for feature -
Test suite updated with functionality tests -
Test suite updated with negative tests -
Documentation updated / NEWS entry present (for non-trivial changes) -
CI timeout is 2h or higher (see Settings/CICD/General pipelines/Timeout)
Reviewer's checklist:
-
Any issues marked for closing are addressed -
There is a test suite reasonably covering new functionality or modifications -
Function naming, parameters, return values, types, etc., are consistent and according to CONTRIBUTION.md
-
This feature/change has adequate documentation added -
No obvious mistakes in the code
Edited by Dmitry Baryshkov