hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
218 stars 20 forks source link

Fix benchmarks #91

Open hjr3 opened 7 years ago

hjr3 commented 7 years ago

The benchmarking code in benches/proxy.rs is no longer working. I was doing out of band benchmarks with release builds on servers, but this has value as well.

jtsiros commented 7 years ago

Hello!

I'd like to help contribute to your project! I've written several private Rust projects so, I have some experience with Rust. Would this be something more straight-forward to pick up and help with?

hjr3 commented 7 years ago

@jtsiros Thank you for offering to help! The code in benches/proxy.rs used reqwest. that no longer works after a refactor and it is a blocking request. It should be updated to use the hyper Client itself.