Skip to content

Conversation

@trungda
Copy link
Contributor

@trungda trungda commented Apr 8, 2024

This PR adds a simple benchmark to measure perf improvement changes. E.g., a potential fix for this issue: #531

The benchmark is simple: have a client send 100_000 requests to a server and wait for a response.

Output:

cargo bench
H2 running in current-thread runtime at 127.0.0.1:5928:
Overall: 353ms.
Fastest: 91ms
Slowest: 315ms
Avg    : 249ms
H2 running in multi-thread runtime at 127.0.0.1:5929:
Overall: 533ms.
Fastest: 88ms
Slowest: 511ms
Avg    : 456ms

@trungda trungda changed the title Add simple h2 benchmark Add a simple benchmark Apr 8, 2024
@Noah-Kennedy Noah-Kennedy merged commit e2168de into hyperium:master Apr 9, 2024
@trungda trungda deleted the h2-bench branch April 9, 2024 18: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.

2 participants