30 Commits

Author SHA1 Message Date
Senad Uka
fb197a57d8 started creating rapid attack command 2013-11-05 08:17:32 +00:00
Tomás Senart
ea5764489f Better Usage func 2013-09-11 14:16:52 +01:00
Tomás Senart
e61ded8e5b Abstract command building and setup with closures 2013-09-11 14:16:52 +01:00
Tomás Senart
4bbc7a0296 Split Attack and Report into sub commands 2013-09-11 14:16:52 +01:00
Tomás Senart
ee9a1a0954 ReportJSON 2013-09-10 13:45:01 +01:00
Tomás Senart
93310995c7 Simplify Reporter objects to be simple functions 2013-09-09 03:08:44 +01:00
Tomás Senart
f689362188 Decouple Reporters from Attack function
This changeset breaks the API of Attack in order to decouple Reporters
and the Attack function. Attack now returns a slice with
non-deterministic order of Results which one can use on the calling code
with or without Reporters, hence making it much more useful on a library
usage setting.
These developments could be of interest to issue #11 which was closed in
the past.
2013-09-09 03:08:44 +01:00
Tomás Senart
b53c5f7a72 Parameterize number of CPUs to be used 2013-09-08 21:02:04 +01:00
Tomás Senart
3eab2de2c1 Fix doc typo 2013-09-08 20:55:15 +01:00
Tomás Senart
6d853a6d84 Constantize error strings 2013-09-08 20:54:50 +01:00
Tomás Senart
813f062f1f Test main package (CLI) 2013-09-08 03:02:10 +01:00
Tomás Senart
660f6783d6 Print reporting error 2013-08-23 16:17:52 +02:00
Tomás Senart
c6ad47722b TimingsPlotReporter 2013-08-17 19:52:29 +02:00
Tomás Senart
2814cf312e Vegeta as a library
* Slicker API
* Privatises a bunch of stuff
* More tests
* More documentation
2013-08-17 16:37:32 +02:00
Tomás Senart
0db8538368 Parameterize rate in Drill 2013-08-17 13:47:51 +02:00
Tomás Senart
a2d4d25dec Type rate as uint64 2013-08-16 20:08:10 +02:00
Tomás Senart
7d13447b64 Simplify random ordering code 2013-08-16 19:38:57 +02:00
Tomás Senart
e296881ac2 Avoid using io.WriteCloser 2013-08-16 19:13:49 +02:00
Tomás Senart
6dc5d189f9 Use switch instead of if/else 2013-08-16 19:11:42 +02:00
Tomás Senart
86a888ec22 Remove redundant comments 2013-08-16 19:09:06 +02:00
Tomás Senart
1a9ca5a84d Revert "Increase in-process max open files limit"
This reverts commit 7bf545f5e5.
2013-08-14 22:46:56 +02:00
Tomás Senart
7bf545f5e5 Increase in-process max open files limit 2013-08-14 22:27:51 +02:00
Tomás Senart
0d22f32683 No need for more than one client with internal concurrency 2013-08-14 21:03:03 +02:00
Tomás Senart
06a27404fa Use all available CPUs 2013-08-14 18:24:20 +02:00
Tomás Senart
c8261d7cdd Fail fast on output opening errors 2013-08-14 18:04:20 +02:00
Tomás Senart
fe12ab2e9b Parameterize reporter output file 2013-08-14 17:48:51 +02:00
Tomás Senart
c1e4962972 Extract main logic into attack function and test it 2013-08-14 17:30:49 +02:00
Tomás Senart
c88c8c4fb5 Working Vegeta 2013-08-14 14:13:12 +02:00
Tomás Senart
3d46c2fe81 Implement Clients with throttling and metrics 2013-08-13 15:01:41 +02:00
Tomás Senart
684ce767c6 Command line interface 2013-08-13 13:48:09 +02:00