Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

s2n-tls handshake benchmark #4053

Merged
merged 18 commits into from
Jun 16, 2023
Merged

s2n-tls handshake benchmark #4053

merged 18 commits into from
Jun 16, 2023

Conversation

tinzh
Copy link
Contributor

@tinzh tinzh commented Jun 13, 2023

Description of changes:

This change adds a Criterion benchmark of s2n-tls on top of Rust bindings. It uses the default ciphers and settings and performs a handshake between a client and server over a local buffer. This will be used as a jumping off point for future benchmarks of more features, as well as with OpenSSL (rust bindings) and Rustls.

Testing:

None of the source code of s2n-tls was changed, so the library should continue to pass all tests.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@jmayclin jmayclin self-requested a review June 13, 2023 17:24
bindings/rust/bench/Cargo.toml Outdated Show resolved Hide resolved
bindings/rust/bench/Cargo.toml Outdated Show resolved Hide resolved
bindings/rust/bench/Cargo.toml Outdated Show resolved Hide resolved
bindings/rust/bench/benches/handshake.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/certs/ca-key.pem Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
@jmayclin jmayclin requested a review from maddeleine June 13, 2023 18:55
@tinzh tinzh requested a review from jmayclin June 13, 2023 21:47
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Show resolved Hide resolved
bindings/rust/bench/certs/generate_certs.sh Show resolved Hide resolved
bindings/rust/bench/src/harness.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/harness.rs Outdated Show resolved Hide resolved
bindings/rust/bench/benches/handshake.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/benches/handshake.rs Outdated Show resolved Hide resolved
@tinzh tinzh requested review from jmayclin and maddeleine June 14, 2023 23:11
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/benches/handshake.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
@tinzh tinzh requested a review from maddeleine June 15, 2023 20:54
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
bindings/rust/bench/src/s2n_tls.rs Outdated Show resolved Hide resolved
@tinzh tinzh requested a review from maddeleine June 15, 2023 23:30
@jmayclin jmayclin merged commit 669142d into aws:main Jun 16, 2023
@tinzh tinzh deleted the s2n-tls-handshake branch June 22, 2023 17:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants