bench(proxy): introduce TLS-based Hyper proxy benchmark - #107
Conversation
Add Criterion benchmark simulating HTTP/1 and HTTP/2 sessions over an in-memory TLS transport (tokio duplex stream). Signed-off-by: RealHinome <acn@gravitalia.com>
Supports HTTP/1.1 keep-alive and HTTP/2 long-lived connection. Also, removes a Mutex. Signed-off-by: RealHinome <acn@gravitalia.com>
Signed-off-by: RealHinome <acn@gravitalia.com>
|
In hindsight, I don't think it's worth implementing the rest of the TODOs right now. The rest of the benchmarks will handle it more cleanly, like your |
|
The failure is not caused by the benchmark (which succeeds, as seen on the bench CI). It fails due to a Nix test interaction with |
Can you send a PR to fix that? Thanks. |
…ility Signed-off-by: RealHinome <acn@gravitalia.com>
|
Hey @rlahfa-dinum! Can you trigger the workflows? Thanks. |
Create a Criterion-based benchmark to evaluate proxy performance under HTTP/1.1 and HTTP/2.
The benchmark currently measures:
TODO: