Skip to content

Https benchmark #5

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

jlitzingerdev
Copy link

Add a benchmark to test, as much as possible, the HTTPS features of twisted. This benchmark intentionally tries to bypass all hostname lookup overhead (though I may not have plugged a resolver correctly) and focus only on certificate validation and hostname verification.

Thanks in advance for reviews.

The new benchmark starts a TLS secured server and spawns clients to
connect, validate the certificate chain, and GET the root resource.  The
certificate chains are generated using the cryptography package.
The goal of the benchmark is to assess the performance of an HTTPS get,
with hostname and certificate validation.  Hostname lookup will add
overhead to the benchmark that, while real in production, is also
variable depending on the environment.
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