pepe-http 0.50.0 → 0.51.1
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 +231 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,237 @@ 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.51.1](https://github.com/omarmhaimdat/pepe/compare/v0.51.0...v0.51.1) - 2026-10-19
|
|
10
|
+
|
|
11
|
+
### Performance
|
|
12
|
+
|
|
13
|
+
- drop axoupdater, so macOS no longer links Security.framework ([#217](https://github.com/omarmhaimdat/pepe/pull/217))
|
|
14
|
+
|
|
15
|
+
Measured first: the bench/ suite on macOS (M4 Pro), with wrk and k6 in
|
|
16
|
+
it for the first time beside oha and vegeta. pepe's CPU was level with
|
|
17
|
+
wrk's and a quarter of oha's. Its memory was not first: 10.7 to 15.0 MB
|
|
18
|
+
where wrk held 3.1, and `pepe --version` alone held 8.4 MB.
|
|
19
|
+
|
|
20
|
+
**Cause.** `otool -L` showed the binary linking `Security.framework` and
|
|
21
|
+
`CoreFoundation.framework`, which dyld loads at every launch. They came
|
|
22
|
+
from axoupdater's second reqwest (0.13), whose platform certificate
|
|
23
|
+
verifier is Security.framework on macOS. pepe's own HTTP uses rustls
|
|
24
|
+
with webpki roots. A C hello-world goes from 1.4 to 5.9 MB RSS just by
|
|
25
|
+
linking those two frameworks.
|
|
26
|
+
|
|
27
|
+
**Change.** `pepe self-update` now does axoupdater's job itself:
|
|
28
|
+
- reads `pepe-receipt.json` (`$XDG_CONFIG_HOME/pepe`, `~/.config/pepe`,
|
|
29
|
+
`%LOCALAPPDATA%\pepe`) and checks it is for this executable, keeping the
|
|
30
|
+
cargo-dist 0.10–0.14 `bin` workaround;
|
|
31
|
+
- downloads the release's `pepe-installer.sh` / `.ps1` with pepe's own
|
|
32
|
+
reqwest;
|
|
33
|
+
- runs it with `PEPE_INSTALL_DIR`, `CARGO_DIST_FORCE_INSTALL_DIR` and
|
|
34
|
+
`PEPE_NO_MODIFY_PATH` as the receipt says.
|
|
35
|
+
|
|
36
|
+
On Windows the running exe is renamed aside before the install and
|
|
37
|
+
restored if the install fails, as axoupdater did. One difference: the
|
|
38
|
+
`.previous.exe` is removed at the next self-update rather than
|
|
39
|
+
self-deleted. New tests cover the receipt and run a stand-in installer
|
|
40
|
+
to check its environment and the error message.
|
|
41
|
+
|
|
42
|
+
The binary now links only `libSystem` and `libiconv`. It is 10.2 → 8.0
|
|
43
|
+
MB on disk, and 62 of 286 crates leave the lockfile.
|
|
44
|
+
|
|
45
|
+
**Numbers (macOS; full tables in bench/README.md under "What the binary
|
|
46
|
+
links", CSVs in bench/results/)**
|
|
47
|
+
|
|
48
|
+
| | before | after |
|
|
49
|
+
| --- | --- | --- |
|
|
50
|
+
| tiny-c64, peak MB | 10.8–11.6 | 6.9 |
|
|
51
|
+
| tiny-c1000, peak MB | 13.8–14.6 | 9.5–10.1 |
|
|
52
|
+
| tls-c64, peak MB | 15.0 | 10.0–10.5 |
|
|
53
|
+
| million-c64, peak MB | 10.7–12.0 | 6.2 |
|
|
54
|
+
| every workload, memory | | −29 to −45% |
|
|
55
|
+
| 1M GETs, CPU ms/1k (median of 5 alternating) | 6.10 | 6.08 |
|
|
56
|
+
| 400k TLS, CPU ms/1k (median of 5 alternating) | 6.55 | 6.53 |
|
|
57
|
+
| dashboard, 200k at 64 | 1.24–1.28 s · 15.4–15.9 MB | 1.26–1.28 s ·
|
|
58
|
+
11.3–11.5 MB |
|
|
59
|
+
|
|
60
|
+
`bench/compare.sh`, best of 3: CPU +0.8 to +4.9% (inside the rounds'
|
|
61
|
+
spread; the 5-round medians above show no change), memory −30 to −44%.
|
|
62
|
+
|
|
63
|
+
**Where pepe still isn't first (macOS):**
|
|
64
|
+
- Memory against wrk at ≤256 connections: 6.2–7.6 MB vs 3.1–4.7. What is
|
|
65
|
+
left is clean code pages; the physical footprint is 3.3 MB vs wrk's 2.3.
|
|
66
|
+
From 1,000 connections, and over TLS, pepe now holds less than wrk.
|
|
67
|
+
- CPU at 1,000 slow connections: wrk 6.4–6.7 vs pepe 7.2–8.0 ms/1k,
|
|
68
|
+
mostly kernel time.
|
|
69
|
+
- TLS requests a second: oha and k6 on 14 threads beat pepe's one. wrk
|
|
70
|
+
on one thread is level with it.
|
|
71
|
+
|
|
72
|
+
**Not measured:** Linux. Docker wasn't running here. On Linux the
|
|
73
|
+
frameworks don't exist, and the second reqwest's verifier is pure Rust,
|
|
74
|
+
so the published 4.0 MB musl number isn't expected to move. The
|
|
75
|
+
Benchmarks workflow checks it on the next release PR. docs/benchmarks.md
|
|
76
|
+
quotes Linux numbers only, so it is unchanged.
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
### Other
|
|
81
|
+
|
|
82
|
+
- the site in the pepper's colours, and a page for every config file ([#216](https://github.com/omarmhaimdat/pepe/pull/216))
|
|
83
|
+
|
|
84
|
+
## What
|
|
85
|
+
|
|
86
|
+
**The site, restyled.** The front page and every docs page take the
|
|
87
|
+
mascot's own palette: its cream (`#FFF1E0`) and ink, pepper red, lime,
|
|
88
|
+
gold and ember, with Geist for prose and Geist Mono for code, square
|
|
89
|
+
edges and hard shadows.
|
|
90
|
+
|
|
91
|
+
- **The front page** (`site/index.html`) is bands of colour, one a mode:
|
|
92
|
+
ping split into its five phases, a ramp bending at its capacity,
|
|
93
|
+
compare's before and after, the guardrails for agents, every mode, and
|
|
94
|
+
the benchmarks. Requests cross the hero behind a live ping card. The
|
|
95
|
+
install is one line to copy, with `via curl · brew · powershell · docker
|
|
96
|
+
· nix · cargo` to swap it.
|
|
97
|
+
- **The docs** stay calm, with no bands. A tag sits above each title
|
|
98
|
+
with its group and command (`MODES` · `pepe ping`), and the subject is
|
|
99
|
+
selected. Code blocks mark `pepe` and dim the comments, and TOML tables
|
|
100
|
+
are coloured. The sidebar's current page is an ink block, and the
|
|
101
|
+
columns have no scroll bar until the pointer is over them.
|
|
102
|
+
|
|
103
|
+
**A new page: [Config files](docs/config.md).** It covers everything a
|
|
104
|
+
TOML file can say, in one place:
|
|
105
|
+
|
|
106
|
+
- **`pepe.toml`:** every key with what it does and its flag; the rules
|
|
107
|
+
(flags win, length is said once, on/off keys only switch on, unknown
|
|
108
|
+
keys are errors, this directory only); and recipes (guardrails, a soak,
|
|
109
|
+
a CSV-driven run, a ramp, a ping watch).
|
|
110
|
+
- **The other files:**
|
|
111
|
+
- `[[webhook]]` tables, with every key and hole;
|
|
112
|
+
- where `${NAME}` is read, and where it isn't;
|
|
113
|
+
- saved tests: how they're made and named, and how `--load` picks the
|
|
114
|
+
mode;
|
|
115
|
+
- `settings.toml`;
|
|
116
|
+
- which file wins, including the caps;
|
|
117
|
+
- flow files;
|
|
118
|
+
- `slack.toml`.
|
|
119
|
+
- **Refusals:** what pepe says when a file is refused.
|
|
120
|
+
|
|
121
|
+
It's linked from the overview, `llms.txt` and the load-testing page's
|
|
122
|
+
config section, and it sits in the sidebar under Reference.
|
|
123
|
+
|
|
124
|
+
## Why
|
|
125
|
+
|
|
126
|
+
The site looked like a generic docs theme rather than pepe. What a
|
|
127
|
+
config file can hold was spread over five pages (load testing, install,
|
|
128
|
+
flows, webhooks, agents), and some of it was on none of them:
|
|
129
|
+
|
|
130
|
+
- `vars` refuses `pepe api` and `pepe ping`.
|
|
131
|
+
- `max-requests` and `max-rate` refuse a ramp.
|
|
132
|
+
- `${NAME}` is filled only in webhooks.
|
|
133
|
+
- A saved test keeps its headers, tokens included.
|
|
134
|
+
- `vars` and `export` from `[defaults]` don't reach under a `pepe.toml`.
|
|
135
|
+
- A cap typed on the command line replaces the file's.
|
|
136
|
+
|
|
137
|
+
## Checked
|
|
138
|
+
|
|
139
|
+
- `python3 site/build-docs.py --check`: current.
|
|
140
|
+
- Every TOML example on the new page passes `--dry-run` in its own mode
|
|
141
|
+
(run, ramp, ping, flow, settings), with each error message the page
|
|
142
|
+
quotes produced by pepe itself.
|
|
143
|
+
- Looked at the front page and the docs in light and dark, at desktop
|
|
144
|
+
and phone widths, with no sideways scroll.
|
|
145
|
+
- No Rust changed.
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
- *(nix)* update flake.lock ([#215](https://github.com/omarmhaimdat/pepe/pull/215))
|
|
149
|
+
|
|
150
|
+
Automated changes by the
|
|
151
|
+
[update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock)
|
|
152
|
+
GitHub Action.
|
|
153
|
+
|
|
154
|
+
```
|
|
155
|
+
Flake lock file updates:
|
|
156
|
+
|
|
157
|
+
• Updated input 'nixpkgs':
|
|
158
|
+
'github:NixOS/nixpkgs/6510408d147d8c5e6d76043e899e9251756f6a75?narHash=sha256-XK4KceonkwD8LuMAt/vNrz982mXJM5jeHAxMwsUXXAQ%3D' (2026-10-10)
|
|
159
|
+
→ 'github:NixOS/nixpkgs/fe13242281a67641c0102cdb1087f0ebe586c7df?narHash=sha256-zp8ToDMnqZcu4o4IH9pdwXFXGp7yLm/M0dEnNWnyd7I%3D' (2026-10-15)
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### Running GitHub Actions on this PR
|
|
163
|
+
|
|
164
|
+
GitHub Actions will not run workflows on pull requests which are opened
|
|
165
|
+
by a GitHub Action.
|
|
166
|
+
|
|
167
|
+
**To run GitHub Actions workflows on this PR, close and re-open this
|
|
168
|
+
pull request.**
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
## [0.51.0](https://github.com/omarmhaimdat/pepe/compare/v0.50.0...v0.51.0) - 2026-10-18
|
|
172
|
+
|
|
173
|
+
### Added
|
|
174
|
+
|
|
175
|
+
- *(slack)* a quiet thread: what changed goes in the message, and @pepe answers questions there ([#213](https://github.com/omarmhaimdat/pepe/pull/213))
|
|
176
|
+
|
|
177
|
+
Feedback from using it: a reply in the thread for every anomaly was too
|
|
178
|
+
many messages. The data now lives in one denser message, and the thread
|
|
179
|
+
is for questions.
|
|
180
|
+
|
|
181
|
+
## The live message
|
|
182
|
+
|
|
183
|
+
It's still edited every 10 s, and now also immediately when something
|
|
184
|
+
changes or someone steers the run.
|
|
185
|
+
|
|
186
|
+
**Six fields:**
|
|
187
|
+
- **Throughput:** current value, the run's peak, and which way it has
|
|
188
|
+
moved lately.
|
|
189
|
+
- **Latency:** p50 · p95 · p99, with a sparkline.
|
|
190
|
+
- **Errors:** by cause, with the first body the server sent.
|
|
191
|
+
- **Where the time goes:** waiting for the first byte versus reading the
|
|
192
|
+
body.
|
|
193
|
+
- **Sent:** requests and bytes received.
|
|
194
|
+
- **Load:** connections in flight and the rate cap, plus who changed it
|
|
195
|
+
last.
|
|
196
|
+
|
|
197
|
+
**What changed:** each anomaly is one timestamped line in the message,
|
|
198
|
+
latest five, e.g. `` `1m26s` 📉 Throughput dropped 52% · 5.9k req/s ``.
|
|
199
|
+
The verdict lists them too.
|
|
200
|
+
|
|
201
|
+
The thread gets nothing for anomalies. The only unprompted thread
|
|
202
|
+
message left is the single result line at the end. It's also shown in
|
|
203
|
+
the channel and carries the `mention` when a run fails.
|
|
204
|
+
|
|
205
|
+
## Ask in the thread
|
|
206
|
+
|
|
207
|
+
With `pepe slack serve` running, mentioning `@pepe` in the thread of a
|
|
208
|
+
run it started gets an answer there. Topics: *p99*, *errors* (what
|
|
209
|
+
failed, what the server said, when it began), *slowest*, *where does the
|
|
210
|
+
time go*, *codes*, *compare* (against the test's last recorded run),
|
|
211
|
+
*status*, *help*.
|
|
212
|
+
|
|
213
|
+
- **While the run goes,** the run answers from its live numbers. `serve`
|
|
214
|
+
passes the question over the control channel; the run told `serve` its
|
|
215
|
+
message id on stderr when it posted the message.
|
|
216
|
+
- **After it ends,** `serve` answers from the recorded report, compared
|
|
217
|
+
with the run before it.
|
|
218
|
+
- **A mention anywhere else** gets a note on where to ask.
|
|
219
|
+
|
|
220
|
+
The manifest adds `app_mentions:read` and the `app_mention` event. **An
|
|
221
|
+
existing app needs `pepe slack connect` again.**
|
|
222
|
+
|
|
223
|
+
## Checked
|
|
224
|
+
|
|
225
|
+
- 407 tests pass; clippy 1.98 is clean. New tests cover:
|
|
226
|
+
- the format of the "What changed" lines;
|
|
227
|
+
- the live message's six fields and its "What changed" list;
|
|
228
|
+
- matching a question to its topic, and each topic's answer;
|
|
229
|
+
- the `ask` command on the control channel.
|
|
230
|
+
- Against the fake Slack (which rejects repeated action ids) and a fake
|
|
231
|
+
Socket Mode server:
|
|
232
|
+
- "why are errors up?" and "p99?" mid-run were answered in the live
|
|
233
|
+
message's thread;
|
|
234
|
+
- the live edits were accepted;
|
|
235
|
+
- "compare" after the stop was answered from the recorded report;
|
|
236
|
+
- a mention in another thread got the note;
|
|
237
|
+
- no anomaly replies were posted.
|
|
238
|
+
|
|
239
|
+
|
|
9
240
|
## [0.50.0](https://github.com/omarmhaimdat/pepe/compare/v0.49.1...v0.50.0) - 2026-10-18
|
|
10
241
|
|
|
11
242
|
### Added
|
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.
|
|
22
|
+
"version": "0.51.1"
|
|
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.
|
|
51
|
+
"version": "0.51.1"
|
|
52
52
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"artifactDownloadUrls": [
|
|
3
|
-
"https://github.com/omarmhaimdat/pepe/releases/download/v0.
|
|
3
|
+
"https://github.com/omarmhaimdat/pepe/releases/download/v0.51.1"
|
|
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.
|
|
122
|
+
"version": "0.51.1",
|
|
123
123
|
"volta": {
|
|
124
124
|
"node": "18.14.1",
|
|
125
125
|
"npm": "9.5.0"
|