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

HTTP/2 seems to take 25% more time to reply than HTTP/1.1 #79

Open
kit-ty-kate opened this issue Nov 22, 2022 · 0 comments
Open

HTTP/2 seems to take 25% more time to reply than HTTP/1.1 #79

kit-ty-kate opened this issue Nov 22, 2022 · 0 comments

Comments

@kit-ty-kate
Copy link
Contributor

While testing #75 I noticed that the HTTP/2 version took a lot longer than HTTP/1.1

Querying https://exn.st (source) with curl --http1.1 then without argument (defaults to http2) I get the following times:

  • http/1.1: 0.421s
  • h2: 0.516s

The numbers stay consistent over time with ±0.01s margin. I would have expected the opposite to happen as HTTP/2 is marketed as being faster.

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

No branches or pull requests

1 participant