News for hackers. Stuff that matters.
Re:Show HN: Rust HTTP library modeled after Go but 2-3x faster by apatheticonion on Saturday April 04, 2026 @04:15AM (#47637025)
Hi thanks! My focus was developer ergonomics so it's rewarding to hear some of that has translated across.

The benchmark claim is based on a naive, simple "hello world" GET req/response, comparing the Go stdlib vs the equivalent handler using uhttp. I used oha to measure.

https://github.com/alshdavid/uhttp/blob/main/benchmarks/go/s...

vs

https://github.com/alshdavid/uhttp/blob/main/examples/basic/...

Output: https://github.com/alshdavid/uhttp/blob/main/crates/uhttp/RE...

Often a meaningless benchmark, but it does serve to measure the overhead from the http library itself. Happy to hear suggestions on the benchmark approach as I don't want to be misleading

There are no comments on this comment yet.