Skip to content

Commit

Permalink
Merge pull request #17 from xwiz/patch-2
Browse files Browse the repository at this point in the history
Add gzip to curl
  • Loading branch information
orhun authored Sep 20, 2023
2 parents 809d853 + 59080ca commit 65d56a5
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 65d56a5

Please sign in to comment.