pepe-http 0.51.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 +162 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,168 @@ 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
|
+
|
|
9
171
|
## [0.51.0](https://github.com/omarmhaimdat/pepe/compare/v0.50.0...v0.51.0) - 2026-10-18
|
|
10
172
|
|
|
11
173
|
### 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.51.
|
|
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.
|
|
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.51.
|
|
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.51.
|
|
122
|
+
"version": "0.51.1",
|
|
123
123
|
"volta": {
|
|
124
124
|
"node": "18.14.1",
|
|
125
125
|
"npm": "9.5.0"
|