Releases: bojand/ghz
Releases · bojand/ghz
v0.70.0
Changelog
v0.70.0 - 2020-11-21
Changes
qps
option renamed to-r
,--rps
.- Added
--async
option to allow for sending of requests asynchronously. - Added a collection of
--load-*
parameters to control request rate. - Added a similar collection of
--concurrency-*
parameters to control the worker concurrency.
Please see docs for additional info and usage.
Build
- 83e5ecc fixing brew forumla release workflow
Commits
- 83e5ecc fixing brew forumla release workflow
- 37ed69e Merge pull request #235 from bojand/pace
- c115457 add custom pacer and worker ticker configs
- 6c935ef Merge branch 'master' into pace
- 8bcc6ae fixing github release workflow env vars
- 68bdb5f fixing github release workflow env vars
- 5a18ca5 update html template
- fb38e75 add new load and concurrency options to reporter and printer
- a8d9ac7 Merge branch 'master' into pace
- c31b957 cleanup Makefile
- 9baf008 clean up options
- fff27be Merge branch 'master' into pace
- 1fbc366 Merge branch 'master' into pace
- 7be9e72 concurrency docs
- 54efa0a docs and code cleanup
- a61944b more worker ticket tests
- bd4670e add more tests
- 946c6d7 add tools. update golangci-lint. fix linting issues
- b24d883 add concurrency example
- d0ece60 more load docs examples
- a2bed3c fix load docs formatting
- 8eaf49b qps -> rps. add load walktrough. wip
- 05b30b9 logs
- deb669b docs and fixes
- faaec5d help
- a64ff50 step and line
- 7fb2f0d wip on pace
- afa1227 wip on new pace logic
- 9814e0c initial base work for pace and concurrency control
v0.64.0
v0.70.0-beta.1
Changelog
v0.70.0-beta.1 - 2020-11-16
Commits
- 8bcc6ae fixing github release workflow env vars
- 68bdb5f fixing github release workflow env vars
- 5a18ca5 update html template
- fb38e75 add new load and concurrency options to reporter and printer
- a8d9ac7 Merge branch 'master' into pace
- dc6b53f Refresh certificates
- 502b18e update github action workflow and changelog template
- c31b957 cleanup Makefile
- 9baf008 clean up options
- fff27be Merge branch 'master' into pace
- 1fbc366 Merge branch 'master' into pace
- 7be9e72 concurrency docs
- 54efa0a docs and code cleanup
- a61944b more worker ticket tests
- bd4670e add more tests
- 946c6d7 add tools. update golangci-lint. fix linting issues
- b24d883 add concurrency example
- d0ece60 more load docs examples
- a2bed3c fix load docs formatting
- 8eaf49b qps -> rps. add load walktrough. wip
- 05b30b9 logs
- deb669b docs and fixes
- faaec5d help
- a64ff50 step and line
- 7fb2f0d wip on pace
- afa1227 wip on new pace logic
- 9814e0c initial base work for pace and concurrency control
v0.63.0
v0.62.0
Changelog
v0.62.0 - 2020-10-25
- [feature] [option] adding a func as a option to randomize each request #236
Example
func dataFunc(mtd *desc.MethodDescriptor, cd *runner.CallData) []byte {
msg := &helloworld.HelloRequest{}
msg.Name = cd.WorkerID
binData, err := proto.Marshal(msg)
return binData
}
report, err := runner.Run(
"helloworld.Greeter.SayHello",
"0.0.0.0:50051",
runner.WithProtoFile("./testdata/greeter.proto", []string{}),
runner.WithInsecure(true),
runner.WithBinaryDataFunc(dataFunc),
)
v0.70.0-beta
Changelog
v0.70.0-beta - 2020-10-21
This is initial work in progress on some significant changes to allow for improved behaviour and better control of load and concurrency within ghz
.
Changes
qps
option renamed to-r
,--rps
.- Added
--async
option to allow for sending of requests asynchronously. - Added a collection of
--load-*
parameters to control request rate. - Added a similar collection of
--concurrency-*
parameters to control the worker concurrency.
Please see options docs and additional load walkthrough and concurrency overview.
Thanks!
v0.61.0
v0.60.0
v0.59.0
v0.58.0
Changelog
v0.58.0 - 2020-08-23
Summary
Adds template functions:
newUUID
- Generates a new UUID for each invocation.
randomString
- Generates a new random string for each incovation. Accepts a length parameter. If the argument is <= 0
then a ranom string is generated with a random length between length of 2
and 16
.
Example usage with data:
-d '{"order_id":"{{newUUID}}", "item_id":"{{newUUID}}", "sku":"{{randomString 8 }}", "product_name":"{{ranomdString 0}}"}'
Would result in data with JSON representation:
{
"order_id": "3974e7b3-5946-4df5-bed3-8c3dc9a0be19",
"item_id": "cd9c2604-cd9b-43a8-9cbb-d1ad26ca93a4",
"sku": "HlFTAxcm",
"product_name": "xg3NEC"
}
Also adds WithTemplateFuncs()
API option.
Addresses #213.