2 ms·
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 "hel
by apatheticonion 7mo ago
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/src/main.go#L9 https://github.com/alshdavid/uhttp/blob/main/benchmarks/go/s...
vs
https://github.com/alshdavid/uhttp/blob/main/examples/basic/src/main.rs https://github.com/alshdavid/uhttp/blob/main/examples/basic/...
Output:
https://github.com/alshdavid/uhttp/blob/main/crates/uhttp/README.md#benchmarks 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