Skip to content

Tags: mayhemheroes/vegeta

Tags

v12.8.4

Toggle v12.8.4's commit message

Unverified

No user is associated with the committer email.
Update year range in LICENSE

v12.8.3

Toggle v12.8.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
results: Fix Headers encoding (tsenart#507)

* Revert "results: Faster JSON encoding and decoding (tsenart#506)"

This reverts commit 3629602.

* results: Fix headers encoding

v12.8.2

Toggle v12.8.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
results: Faster JSON encoding and decoding (tsenart#506)

* Add .idea to .gitignore

* results: Faster JSON encoding and decoding

This commit improves the performance of JSON encoding and decoding of
`Results`. Additionally, it fixes a regression introduced in tsenart#474 that
didn't produce valid JSON for HTTP headers. A test is added that
validates the JSON encoding matches the one produced by the
`encoding/json`.

```
name                            old time/op    new time/op    delta
ResultEncodings/json-encode-16     690ns ±12%     297ns ± 0%   -56.94%
(p=0.000 n=9+9)
ResultEncodings/json-decode-16    1.05µs ± 1%    0.03µs ± 1%   -97.47%
(p=0.000 n=10+8)

name                            old alloc/op   new alloc/op   delta
ResultEncodings/json-encode-16      804B ±87%        0B       -100.00%
(p=0.000 n=9+10)
ResultEncodings/json-decode-16      310B ± 0%        0B       -100.00%
(p=0.000 n=10+10)

name                            old allocs/op  new allocs/op  delta
ResultEncodings/json-encode-16      4.00 ± 0%      0.00       -100.00%
(p=0.000 n=10+10)
ResultEncodings/json-decode-16      4.00 ± 0%      0.00       -100.00%
(p=0.000 n=10+10)
```

v12.8.1

Toggle v12.8.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
fix: fix module import path for Go module (tsenart#501)

* fix: fix module import path for Go module

* fix: fix Go import paths in code

v12.8.0

Toggle v12.8.0's commit message

Unverified

No user is associated with the committer email.
report: Round duration to the next most precise unit

So that the width of the text report doesn't get out of hand.

v12.7.0

Toggle v12.7.0's commit message
Fix .goreleaser to work with new unified versioning

We no longer split library and cli versions.

v12.6.0

Toggle v12.6.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
attack: Add -max-workers flag (tsenart#421)

* attack: Add -max-workers flag

This commit introduces the `-max-workers` flag and associated function
options. This allows controlling the concurrency level that vegeta uses,
but can sacrifice reaching the requested `-rate`, in case the specified
max number of workers is below the what is needed to sustain such rate.

* Updated README

* Update README.md

v12.5.1

Toggle v12.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
attack: Measure latency when requests timeout (tsenart#404)

Fixes tsenart#402

v12.5.0

Toggle v12.5.0's commit message
Introduce Pacer interface, ConstantPacer and SinePacer. (tsenart#400)

* Introduce Pacer interface and ConstantPacer.

The Pacer interface allows vegeta's attack rate to be customized.
Attack code keeps track of the elapsed attack duration and the number
of hits sent and provides these to Pace, which must return a Duration
for the attack code to sleep for before sending the next hit. Pace may
also return true for the second stop value to terminate the attack.

This interface allows vegeta to model a wider range of attack scenarios,
such as diurnal request patterns or load-test behaviour, where the
attack rate increases until the target begins to serve errors.

* Add SinePacer, for sinusoidal attack rates.

SinePacer is a Pacer that describes attack request rates with the
equation Rate = Mean * Amplitude * sin(Offset + t * (2𝛑 / Period)).

Both the Mean and Amplitude rates are expressed with ConstantPacer.

lib/v12.5.1

Toggle lib/v12.5.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
attack: Measure latency when requests timeout (tsenart#404)

Fixes tsenart#402