Skip to content

yongboy/quicbench

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 

Repository files navigation

Introduction

Benchmark tool for HTTP/SPDY over QUIC protocol written in Go. Originally forked from cmpxchg16's Gobench.

Getting Started

Dependency

Usage

  1. run some quic supported server. You may use server implementation bundled in quic-go or toy server implementation in Chromium here

  2. run quicbench for HTTPS GET

    $>go run quicbench.go -u https://localhost:6121/ -k=true -c 50 -r=10 -t 10

  3. run quicbench for HTTP POST

    $>go run quicbench.go -u https://localhost/ -k=true -c 50 -r=10 -t 10 -d /tmp/post

Notes

  1. 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
  2. Because it's a test tool, in HTTPS the ceritificate verification is insecure

  3. use Go >= 1.7 (quci-go support Go 1.7+)

  4. 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.

  5. Test with Caddy's Quic Support, with version Q035, Q036, Q037

Help

go run gobench.go --help

License

Licensed under the New BSD License.

Author

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] :))

About

QUIC load test and benchmark tool

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%