Benchmark tool for HTTP/SPDY over QUIC protocol written in Go. Originally forked from cmpxchg16's Gobench.
-
run some quic supported server. You may use server implementation bundled in quic-go or toy server implementation in Chromium here
-
run quicbench for HTTPS GET
$>go run quicbench.go -u https://localhost:6121/ -k=true -c 50 -r=10 -t 10
-
run quicbench for HTTP POST
$>go run quicbench.go -u https://localhost/ -k=true -c 50 -r=10 -t 10 -d /tmp/post
-
build a binary:
$>go build gobench.go
Then you can run the command:
$>./quicbench -u https://localhost:6121/ -k=true -c 50 -r=10 -t 10
-
Because it's a test tool, in HTTPS the ceritificate verification is insecure
-
use Go >= 1.7 (quci-go support Go 1.7+)
-
quicbench creates one QUIC connection for each client and just create new stream for every request. If you want to create QUIC connection for every request, use -qk=false option.
-
Test with Caddy's Quic Support, with version Q035, Q036, Q037
go run gobench.go --help
Licensed under the New BSD License.
Originally written by Uri Shamay ([email protected])
QUIC protocol adopted by Brian Sung-Jin Hong ([email protected]) and Joonsung Lee ([email protected])
Added QUIC protocol with quic-go supported by [email protected] :))