zig-http-benchmarks
zig-http-benchmarks copied to clipboard
Benchmarking Zig HTTP client against Rust, Go, Python, C++ and curl
Please, try replace `master` to `0.11.0` in CI or fix zig code. ```bash Building cpp-asio-httpclient... /home/runner/work/zig-http-benchmarks/zig-http-benchmarks/cpp-asio-httpclient/build.zig.zon:1:2: error: missing top-level 'paths' field Building go-http-client... Running the server... Benchmark 1: curl Time...
The reason for the performance difference is likely the use of `sendfile` in the Rust implementation by way of `std::io::copy` when you do ```rust std::io::copy(&mut body.reader(), &mut stdout)?; ``` [On...
currently the Zig TLS only support 1.3, which is essentially makes Zig HTTP client unusable in many situations, as TLS 1.2 still sees much wider use, and many public TLS...
Right now the servers are being built for each workflow run which takes time. It would be nice to e.g. cache `target` folder for Rust and `zig-cache` for the Zig...