pepe-http 0.55.1 → 0.55.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +97 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,103 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
|
+
## [0.55.2](https://github.com/omarmhaimdat/pepe/compare/v0.55.1...v0.55.2) - 2026-10-24
|
|
10
|
+
|
|
11
|
+
### Performance
|
|
12
|
+
|
|
13
|
+
- *(load)* flows on the direct path, and a run sends what it was asked to ([#230](https://github.com/omarmhaimdat/pepe/pull/230))
|
|
14
|
+
|
|
15
|
+
## What
|
|
16
|
+
|
|
17
|
+
**Flows go direct.** A step is written to the wire when it is sent
|
|
18
|
+
(`direct::Route::of`), with its values filled in, over the worker's
|
|
19
|
+
connection to the step's origin. The worker keeps that connection from
|
|
20
|
+
step to step and from chain to chain. Proxies, credentials in the URL
|
|
21
|
+
and the rest of a redirect still go through reqwest.
|
|
22
|
+
|
|
23
|
+
Two steps, 100,000 chains at 64, best of three on the M4 Pro:
|
|
24
|
+
|
|
25
|
+
| | wall | CPU ms / 1k | peak RSS |
|
|
26
|
+
| --- | ---: | ---: | ---: |
|
|
27
|
+
| v0.55.0 | 3.38 s | 14.7 | 14.6 MB |
|
|
28
|
+
| this branch | 1.60 s | 7.1 | 6.2 MB |
|
|
29
|
+
| plain run, same 200k requests | 1.28 s | 5.6 | 6.5 MB |
|
|
30
|
+
|
|
31
|
+
**The engine sends what a run asks for.** Each fix below was reproduced
|
|
32
|
+
against a counting server, before and after:
|
|
33
|
+
|
|
34
|
+
| | v0.55.0 | this branch |
|
|
35
|
+
| --- | --- | --- |
|
|
36
|
+
| `-n 20 -c 4 -m POST` answered with a 307 | 24 POSTs to the start | 20
|
|
37
|
+
|
|
|
38
|
+
| `-n 4 -c 4 --rate 1` | ends after 7.0 s, reports 0.57 req/s | 3.0 s |
|
|
39
|
+
| `-z 3s -c 16 --rate 1` | ends after 18 s | 3.0 s |
|
|
40
|
+
| replay of a 5,000-URL log, `/hot` at 99.5% | `/hot` got 44.9% | 99.5%
|
|
41
|
+
|
|
|
42
|
+
| flow `-n 1 --warmup 1s` | 13,860 requests counted as measured | 2 |
|
|
43
|
+
|
|
44
|
+
- **Redirects:** `Sent::Redirected` carries the status and the
|
|
45
|
+
`Location`. reqwest takes it on from there with the method and body
|
|
46
|
+
reqwest's own policy would use: 301, 302 and 303 become a GET, 307 and
|
|
47
|
+
308 keep the method and body. reqwest is no longer handed the original
|
|
48
|
+
request to send again. The hop goes through a client without the run's
|
|
49
|
+
headers, with those headers added per request, so `Authorization`,
|
|
50
|
+
`Cookie` and the like stay behind when the redirect leaves the origin.
|
|
51
|
+
- **Pacing:**
|
|
52
|
+
- A worker claims its request before it takes a schedule slot.
|
|
53
|
+
- A wait on a slot ends on a stop, or when a timed run reaches its
|
|
54
|
+
deadline. A counted run still sends every request it has claimed.
|
|
55
|
+
- The backlog reset no longer loses its compare-exchange to other
|
|
56
|
+
workers.
|
|
57
|
+
- **Schedule:** weights adding up to 4,096 or less are still an exact
|
|
58
|
+
cycle. Larger totals are spread over a golden-ratio sequence rather than
|
|
59
|
+
rounding every rare target up to a slot.
|
|
60
|
+
- **Flow warm-up:** every step of a chain begun in the warm-up is marked
|
|
61
|
+
as warm-up.
|
|
62
|
+
- **Drain:** at most 65,536 results are taken per drain, so a stop or a
|
|
63
|
+
frame never waits behind a backlog.
|
|
64
|
+
- **`bench/tui.py`:** finds the end of a run again on the v0.52 screens
|
|
65
|
+
(the title says HEALTHY now) and counts frames by bursts.
|
|
66
|
+
|
|
67
|
+
`bench/compare.sh` against v0.55.0, five rounds: every workload within
|
|
68
|
+
±5% CPU, the stated noise. The signs flip between runs.
|
|
69
|
+
|
|
70
|
+
## Tests
|
|
71
|
+
|
|
72
|
+
429 pass, clippy is clean. New tests:
|
|
73
|
+
|
|
74
|
+
- a redirect is not sent twice
|
|
75
|
+
- a POST answered with a 307 or a 303 goes on as the status says, sent
|
|
76
|
+
once
|
|
77
|
+
- a flow keeps one connection per worker across steps and chains
|
|
78
|
+
- a paced run ends with its last request, and a timed one at its
|
|
79
|
+
deadline
|
|
80
|
+
- rare targets don't take the busy one's share
|
|
81
|
+
|
|
82
|
+
## Not in this PR
|
|
83
|
+
|
|
84
|
+
Reviewing the engine turned up more, all reproduced on v0.55.0. They are
|
|
85
|
+
left for their own PRs:
|
|
86
|
+
|
|
87
|
+
- **Guardrails:**
|
|
88
|
+
- `--rate=1e-300` gets past every cap: 32,826 requests under
|
|
89
|
+
`--max-requests 20`.
|
|
90
|
+
- `--warmup` and flow steps aren't counted against `--max-requests`.
|
|
91
|
+
- Redirects aren't checked against `--allow-host`.
|
|
92
|
+
- `--load`, `rerun` and the Slack runner don't read `pepe.toml`.
|
|
93
|
+
- MCP tool arguments can add `--allow-host`.
|
|
94
|
+
- `pepe api` paths can change the host.
|
|
95
|
+
- A proxy's host isn't checked.
|
|
96
|
+
- Live concurrency changes go past `--max-concurrency`.
|
|
97
|
+
- **Numbers:**
|
|
98
|
+
- `pepe compare` calls a 2.4× p99 regression "same".
|
|
99
|
+
- `--rate` latency leaves out the time requests waited for a slot, and
|
|
100
|
+
the verdict says healthy.
|
|
101
|
+
- `pepe ramp` reports capacity `null` on a hard plateau.
|
|
102
|
+
- Ping's `--jsonl` and `--csv` drop and repeat samples.
|
|
103
|
+
- p99.9 is off by one rank.
|
|
104
|
+
|
|
105
|
+
|
|
9
106
|
## [0.55.1](https://github.com/omarmhaimdat/pepe/compare/v0.55.0...v0.55.1) - 2026-10-24
|
|
10
107
|
|
|
11
108
|
### Fixed
|
package/npm-shrinkwrap.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"hasInstallScript": true,
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"name": "pepe-http",
|
|
22
|
-
"version": "0.55.
|
|
22
|
+
"version": "0.55.2"
|
|
23
23
|
},
|
|
24
24
|
"node_modules/detect-libc": {
|
|
25
25
|
"engines": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
}
|
|
49
49
|
},
|
|
50
50
|
"requires": true,
|
|
51
|
-
"version": "0.55.
|
|
51
|
+
"version": "0.55.2"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/omarmhaimdat/pepe/releases/download/v0.55.
|
|
3
|
+
"https://github.com/omarmhaimdat/pepe/releases/download/v0.55.2"
|
|
4
4
|
],
|
|
5
5
|
"author": "Omar MHAIMDAT",
|
|
6
6
|
"bin": {
|
|
@@ -119,7 +119,7 @@
|
|
|
119
119
|
"zipExt": ".tar.xz"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
"version": "0.55.
|
|
122
|
+
"version": "0.55.2",
|
|
123
123
|
"volta": {
|
|
124
124
|
"node": "18.14.1",
|
|
125
125
|
"npm": "9.5.0"
|