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

feat: docker-based benchmarks comparing OpenSSL perf #2050

Merged
merged 46 commits into from
Jan 29, 2025

Conversation

DeagleGross
Copy link
Contributor

@DeagleGross DeagleGross commented Jan 23, 2025

As we have heard OpenSSL 3.x.x has a perf degradation comparing OpenSSL 1.1.1.
It is critical to understand if there is a bottleneck in the OpenSSL package itself, that is why I packed app used in previously set up benchmarks into docker containers. Now we would be able to compare performance differing the OpenSSL package version easily.

example:

crank --config https://raw.githubusercontent.com/DeagleGross/Benchmarks/refs/heads/dmkorolev/idna/openssl-versioning/scenarios/tls.benchmarks.yml --scenario tls-handshakes-docker-openssl-332 --profile aspnet-perf-lin --application.framework net10.0

results that I got:

OpenSSL version RPS
3.3.2 (latest) 2,290
1.1.1 2,305
3.0.15 1,430

@DeagleGross DeagleGross changed the title Dmkorolev/idna/openssl versioning feat: docker-based benchmarks comparing OpenSSL perf Jan 23, 2025
@@ -219,4 +223,25 @@ static IPEndPoint CreateIPEndPoint(UrlPrefix urlPrefix)
}

return protocols;
}

static void LogOpenSSLVersion()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this code runs no matter what OS? Should probably check you're on linux?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added check that we are on linux or macos

@DeagleGross DeagleGross merged commit 35d6d3e into aspnet:main Jan 29, 2025
2 checks passed
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.

2 participants