Skip to content

Releases: bojand/ghz

v0.21.0

28 Dec 17:02
Compare
Choose a tag to compare

Changelog

d2746c3 Add error status codes to status code disctribution and improve printing using tabwriting
b518c1a [skip ci] fix spacing
d5c47b2 [skip ci] update screenshot

v0.20.0

17 Dec 23:10
Compare
Choose a tag to compare

Changelog

066f4a6 [skip ci] update en.json
9e7c091 [skip ci] update goreleaser file
235526c change average so it includes failed requests as this is a more accurate measurement
115ba93 improve report and output documentation
01aeaad precompute requests per worker and qps tick. improve qps documentation

v0.19.0

15 Dec 21:19
Compare
Choose a tag to compare

Changelog

  • Improve the package library API and use functional options. Fixes #34 .
  • Add documentation for API. #3
  • Add website docs

35b77ad Rewrite (#49)
473d546 [skip ci] Add os.Exit
f927243 [skip ci] Fix example
9b7f6cb [skip ci] Fix example
d9ca923 [skip ci] Fix example
504c978 [skip ci] Update reamde
cd4ffe7 [skip ci] add sample HTML output to website and fix some links
67f58b5 [skip ci] en.json
b56479d [skip ci] fix godoc
cd69b40 [skip ci] fix sample link
67c273a [skip ci] goreleaser test
8808950 [skip ci] goreleaser test
e634656 [skip ci] goreleaser test
6aaf41c [skip ci] goreleaser test
cd1bbd7 [skip ci] goreleaser test
f6a376b [skip ci] goreleaser test
37f1ad3 [skip ci] improve documentation and add example

v0.18.0

14 Dec 23:36
Compare
Choose a tag to compare

Changelog

bb6ec66 capture errors in makeRequest and print them if they happen

v0.17.0

11 Dec 13:31
Compare
Choose a tag to compare

Changelog

846038c Add -insecure to first example to demonstraty the need for flag when testing or not using secure connections
63fb284 Merge pull request #46 from nlohmann/master
f9cd9c7 fixed typo
941fdab Merge branch 'master' of https://github.com/bojand/ghz
717c13d Fix timeout spelling
9d49175 Fix spelling in readme

v0.16.0

03 Dec 14:40
Compare
Choose a tag to compare

Changelog

0199e2c update test certificates
d8413a2 calculate average and rps only if we have successful latencies

v0.15.0

16 Nov 12:49
Compare
Choose a tag to compare

Highlights

Add -name option. Fixes #37.

-name  Name of the test.

Changelog

b3da269 Add -name option for test name. Fixes #37
f0acd05 Slightly improve average calculation by using length of lats. Use ephemeral port for tests

v0.14.0

18 Oct 23:14
f979538
Compare
Choose a tag to compare

Highlights

Add support for binary data input. Addresses #22.
Added two new options:

-b  The call data comes as serialized binary message read from stdin.
-B  Path for the call data as serialized binary message.

Example usage:

ghz -proto ./greeter.proto -call helloworld.Greeter.SayHello -B ./hello_request_data.bin 0.0.0.0:50051

Or using binary from stdin:

ghz -proto ./greeter.proto -call helloworld.Greeter.SayHello -b 0.0.0.0:50051 < ./hello_request_data.bin

Changelog

f979538 Merge pull request #33 from bojand/bindata
a844463 binary stdin usage
d35edb7 add bin data usage
2d13048 bin data fixes
43efde4 tests for binary message support and readme
98ea130 initial support for binary data
31f8919 update test certs
553db67 remove orig file
84e6ea0 Merge pull request #30 from kenju/fix-readme
e5bffb3 fix README for influx-details options

v0.13.0

08 Sep 19:24
6350d97
Compare
Choose a tag to compare

Highlights

Added InfluxDB line protocol format support for output.

Using -O influx-summary outputs the summary data as InfluxDB Line Protocol. Sample output:

ghz_run,proto="/testdata/greeter.proto",call="helloworld.Greeter.SayHello",host="0.0.0.0:50051",n=1000,c=50,qps=0,z=0,timeout=20,dial_timeout=10,keepalive=0,data="{\"name\":\"{{.InputName}}\"}",metadata="{\"rn\":\"{{.RequestNumber}}\"}",errors=74,has_errors=true count=1000,total=50000556,average=1771308,fastest=248603,slowest=7241944,rps=19999.78,median=1715940,p95=4354194,errors=74 128802790

Use -O influx-summary to get the individual details for each request:

ghz_detail,proto="/testdata/greeter.proto",call="helloworld.Greeter.SayHello",host="0.0.0.0:50051",n=1000,c=50,qps=0,z=0,timeout=20,dial_timeout=10,keepalive=0,data="{\"name\":\"{{.InputName}}\"}",metadata="{\"rn\":\"{{.RequestNumber}}\"}",hasError=false latency=5157328,error=,status=OK 681023506
ghz_detail,proto="/testdata/greeter.proto",call="helloworld.Greeter.SayHello",host="0.0.0.0:50051",n=1000,c=50,qps=0,z=0,timeout=20,dial_timeout=10,keepalive=0,data="{\"name\":\"{{.InputName}}\"}",metadata="{\"rn\":\"{{.RequestNumber}}\"}",hasError=false latency=4990499,error=,status=OK 681029613

Changelog

6350d97 InfluxDB Line Protocol support (#26)
60ab9ba Merge pull request #28 from kenju/rm-unused-method
6052e84 Merge pull request #29 from kenju/fix-readme
cc03fb4 remove duplicated options from README.md
acbf3c2 remove unused parseConfigString from config.go

v0.12.0

24 Aug 00:15
Compare
Choose a tag to compare

Change Highlights

ghz now defaults to secure connection and uses the system's default root certificate if no certificate options are specified. To use an insecure connection use -insecure flag.

Changelog

a54d5e8 [skip ci] update usage in readme
b8eed72 add insecure flag to requestor tests
5b9e967 Merge pull request #27 from tab1293/insecure-flag
e63bc5d Default to secure connection with option to use insecure flag