You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add new CLI argument
Add support for `-ab-time-per-request` CLI argument, which will show
Apache Benchmark style `Time per request` metrics.
Closes: #12
* Fix Makrdown
Copy file name to clipboardExpand all lines: README.md
+10-2Lines changed: 10 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -57,7 +57,6 @@ Completed requests: 1517
57
57
Succeeded requests: 1517
58
58
Failed requests: 0
59
59
Requests per second: 50.57 (mean, across all concurrent requests)
60
-
Request duration 19.78ms (mean, across all concurrent requests)
61
60
Transfer rate (HTTP Message Body) 319 kB/s sent (mean)
62
61
253 kB/s sent (mean, across all concurrent requests)
63
62
637 kB/s received (mean)
@@ -104,7 +103,6 @@ Completed requests: 222
104
103
Succeeded requests: 222
105
104
Failed requests: 0
106
105
Requests per second: 20.25 (mean, across all concurrent requests)
107
-
Request duration 49.37ms (mean, across all concurrent requests)
108
106
Transfer rate (HTTP Message Body) 279 kB/s sent (mean)
109
107
101 kB/s sent (mean, across all concurrent requests)
110
108
558 kB/s received (mean)
@@ -234,6 +232,16 @@ you need to do this:
234
232
235
233
See the [open issues](https://github.com/wayfair-incubator/minigun/issues) for a list of proposed features (and known issues).
236
234
235
+
## Release Management
236
+
237
+
- Push changes via Github Pull Requests, review and merge them.
238
+
- Change the version constant in the `main.go` file.
239
+
- Add all changes introduced since the last release to the `CHANGELOG.md` file.
240
+
- When the new release is ready, [draft a new release](https://github.com/wayfair-incubator/minigun/releases/new):
241
+
- Make sure to specify a new tag, make sure to follow [SemVer spec](https://semver.org/spec/v2.0.0.html).
242
+
- Publish the new release.
243
+
- All artifacts should be published automatically shortly after the new release is published.
244
+
237
245
## Contributing
238
246
239
247
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are **greatly appreciated**. For detailed contributing guidelines, please see [CONTRIBUTING.md](CONTRIBUTING.md)
Copy file name to clipboardExpand all lines: main.go
+5-1Lines changed: 5 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ import (
35
35
)
36
36
37
37
// Constants and vars
38
-
constversion="0.4.0"
38
+
constversion="0.4.1"
39
39
constworkersCannelSize=1024
40
40
consterrorBadHTTPCode="Bad HTTP status code"
41
41
@@ -59,6 +59,8 @@ type appConfig struct {
59
59
instancestring
60
60
namestring
61
61
62
+
abTimePerRequestbool
63
+
62
64
pushGatewaystring
63
65
pushInterval time.Duration
64
66
@@ -635,6 +637,8 @@ func main() {
635
637
flag.StringVar(&config.report, "report", "text", "Report format. One of: 'text', 'table', 'json'")
636
638
flag.BoolVar(&config.prettyJson, "pretty-json", false, "Pretty print JSON report with indents")
637
639
640
+
flag.BoolVar(&config.abTimePerRequest, "ab-time-per-request", false, "Show Apache Benchmark style time per request metric")
641
+
638
642
flag.StringVar(&config.name, "name", "default", "Benchmark run name. It will be used as 'name' label for metrics. Can be used for grouping all instances.")
639
643
flag.StringVar(&config.instance, "instance", "", "Benchmark instance name. It will be used as 'instance' label for metrics. Default to hostname.")
0 commit comments