Skip to content

Commit

Permalink
Add gzip to curl
Browse files Browse the repository at this point in the history
  • Loading branch information
xwiz committed Sep 20, 2023
1 parent 809d853 commit 59080ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench.sh
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ args=(
"--command-name" "cpp-asio-httpclient"
)

commands=("curl http://127.0.0.1:8000/get?[1-1000]")
commands=("curl -H 'Accept-Encoding: gzip' 'http://127.0.0.1:8000/get?range=1-1000'")

for zig_bin in "${zig_bins[@]:1}"; do
commands+=("${cpwd}/${zig_bin}/zig-out/bin/${zig_bin}")
Expand Down

0 comments on commit 59080ca

Please sign in to comment.