aws / s2n-tls

An implementation of the TLS/SSL protocols
https://aws.github.io/s2n-tls/usage-guide/
Apache License 2.0
4.52k stars 705 forks source link

Performance benchmarking #2727

Closed dougch closed 2 years ago

dougch commented 3 years ago

Security issue notifications

If you discover a potential security issue in s2n we ask that you notify AWS Security via our vulnerability reporting page. Please do not create a public github issue.

Problem

Similar to #1324 and #2582 : "Changes to core s2n library (eg. s2n memory functions, blob, stuffers, crypto) may impact/improve s2n performance. We want to be able to measure performance over time to test for potential performance regression which is important for applications that uses s2n in performance critical areas."

But we'd like a solution that could be applied to other projects - and using Rust.

Solution:

Add some tooling that can be run in CI to catch regressions.

Some high level comments/open questions from our last discussion:

High level tasks

Milestone 1 - Finalize benchmark approach

Milestone 2 - implementation

Samples

Requirements / Acceptance Criteria:

What must a solution address in order to solve the problem? How do we know the solution is complete?

Out of scope:

Is there anything the solution will intentionally NOT address?

dougch commented 2 years ago

Example update of a PR, showing a link to the report https://github.com/aws/s2n-tls/pull/3070#issuecomment-956758916