Update README.md

This commit is contained in:
Tomás Senart
2013-09-08 22:45:14 +01:00
parent b53c5f7a72
commit e66bcc287d

View File

@@ -25,6 +25,7 @@ $ go install github.com/tsenart/vegeta
```shell ```shell
$ vegeta -h $ vegeta -h
Usage of vegeta: Usage of vegeta:
-cpus=n: Number of CPUs to use
-duration=10s: Duration of the test -duration=10s: Duration of the test
-ordering="random": Attack ordering [sequential, random] -ordering="random": Attack ordering [sequential, random]
-output="stdout": Reporter output file -output="stdout": Reporter output file
@@ -33,6 +34,10 @@ Usage of vegeta:
-targets="targets.txt": Targets file -targets="targets.txt": Targets file
``` ```
#### -cpus
Specifies the number of CPUs to be used internally.
It defaults to the amount of CPUs available in the system.
#### -duration #### -duration
Specifies the amount of time to issue request to the targets. Specifies the amount of time to issue request to the targets.
The internal concurrency structure's setup has this value as a variable. The internal concurrency structure's setup has this value as a variable.