pepe-http 0.51.1 → 0.53.0
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 +129 -0
- package/npm-shrinkwrap.json +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,135 @@ 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.53.0](https://github.com/omarmhaimdat/pepe/compare/v0.52.0...v0.53.0) - 2026-10-22
|
|
10
|
+
|
|
11
|
+
### Added
|
|
12
|
+
|
|
13
|
+
- *(logs)* traffic split by path, and the screen held to one path ([#223](https://github.com/omarmhaimdat/pepe/pull/223))
|
|
14
|
+
|
|
15
|
+
First of three PRs making `pepe logs` more powerful (then findings and
|
|
16
|
+
alerts, then the MCP tool, flag filters and `.gz`).
|
|
17
|
+
|
|
18
|
+
## What changes
|
|
19
|
+
|
|
20
|
+
**Traffic tab, every path**
|
|
21
|
+
- Each bar is split by the four busiest paths of the slots shown, in
|
|
22
|
+
their own colours (none of them green, yellow or red, so nothing reads
|
|
23
|
+
as health); the rest in the usual bar colour.
|
|
24
|
+
- Beside the chart (110 columns and up): the picked slot's paths with
|
|
25
|
+
their rate then, how that holds against their usual slot, their 5xx
|
|
26
|
+
share and mean time, and the others.
|
|
27
|
+
- The table gets each slot's p50 and p99 and its busiest path with its
|
|
28
|
+
share, in place of the bar.
|
|
29
|
+
|
|
30
|
+
**One path (`p`)**
|
|
31
|
+
- `p` on Traffic, Paths or Log opens a picker: letters in order are
|
|
32
|
+
enough (`srch` → `/search`), `enter` holds the screen to the path.
|
|
33
|
+
- Traffic is then that path's alone: its bars, its rate now against its
|
|
34
|
+
usual, and a table of its slots with requests, 4xx, 5xx, mean time and
|
|
35
|
+
share of all traffic. Beside the chart: its status codes, p50/p95/p99,
|
|
36
|
+
and the share of its time spent waiting on the upstream.
|
|
37
|
+
- Log keeps the path's lines, the error log's lines about it included
|
|
38
|
+
(by their `request:`). It starts with those among the last 2,000 and
|
|
39
|
+
keeps 2,000 of its own from then on. `l` goes there from Traffic; `c` or
|
|
40
|
+
`esc` lets go.
|
|
41
|
+
|
|
42
|
+
## How it is counted
|
|
43
|
+
- Each minute, hour and day keeps a table of its 64 busiest paths, found
|
|
44
|
+
by an index so a request needs no search. When a slot has more, a new
|
|
45
|
+
path replaces the least requested one only if it has as many requests.
|
|
46
|
+
- Times are kept in buckets an eighth of a doubling wide (176 × u32) for
|
|
47
|
+
every slot and every path; a test holds percentiles within 5% of the
|
|
48
|
+
truth.
|
|
49
|
+
- The threads that read a file merge per-path slots by name; a test
|
|
50
|
+
checks that every core reading the file counts what one thread would,
|
|
51
|
+
slot by slot and path by path.
|
|
52
|
+
|
|
53
|
+
## Cost (bench/README.md)
|
|
54
|
+
862 MB, 9-day generated log, same machine, before → after:
|
|
55
|
+
|
|
56
|
+
| | time | memory |
|
|
57
|
+
| --- | ---: | ---: |
|
|
58
|
+
| the file, every core | 0.27 s → 0.28 s (CPU 2.69 → 2.93 s) | 103 → 138
|
|
59
|
+
MB |
|
|
60
|
+
| piped, one thread | 2.14 → 2.21 s | 18 → 22 MB |
|
|
61
|
+
|
|
62
|
+
The `--json` report is byte-identical before and after.
|
|
63
|
+
|
|
64
|
+
## 1.0
|
|
65
|
+
No flag, `pepe.toml` key, report field or MCP tool changes, so this
|
|
66
|
+
doesn't move the 1.0 clock. New keys only: `p`, `l`, and `c` on Traffic.
|
|
67
|
+
|
|
68
|
+
Please squash-merge with this title so release-plz picks it up.
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
## [0.52.0](https://github.com/omarmhaimdat/pepe/compare/v0.51.1...v0.52.0) - 2026-10-20
|
|
72
|
+
|
|
73
|
+
### Added
|
|
74
|
+
|
|
75
|
+
- *(ui)* the screens in the pepper's colours: a band for the mode, cards, tags ([#220](https://github.com/omarmhaimdat/pepe/pull/220))
|
|
76
|
+
|
|
77
|
+
## What
|
|
78
|
+
|
|
79
|
+
pepe's screens take the site's look, starting with the shared pieces and
|
|
80
|
+
the load-test dashboard.
|
|
81
|
+
|
|
82
|
+
- **The palette.**
|
|
83
|
+
- `pepe` now has an ink ground, cream text and the pepper's red as the
|
|
84
|
+
one accent (it was ember), lime for good and gold for warnings.
|
|
85
|
+
- The heatmap runs from ink to red to cream.
|
|
86
|
+
- `paper` takes the site's cream.
|
|
87
|
+
- There are three new roles, each the same in every theme: the ink
|
|
88
|
+
written on a band or a badge, a card's hard shadow (red on dark, ink on
|
|
89
|
+
light), and the modes' band colours.
|
|
90
|
+
- **The kit** ([src/ui/kit.rs](src/ui/kit.rs)):
|
|
91
|
+
- `band`: the mode's colour across the top, with `pepe` in an ink chip,
|
|
92
|
+
the title in ink and the site's checker strip under it.
|
|
93
|
+
- `card`: a square frame on the panel surface, its title a tag set into
|
|
94
|
+
the border, and an optional hard shadow half a cell right and below. The
|
|
95
|
+
frame sits in the panel's existing padding, so nothing drawn inside
|
|
96
|
+
moves.
|
|
97
|
+
- `tag`, `badge`, `corner`: tags are reverse video, so they read in
|
|
98
|
+
every theme, including `NO_COLOR`.
|
|
99
|
+
- Every panel is square now, and key chips and tabs are tags. The picked
|
|
100
|
+
tab has the red corner square, and titles inside a card are small
|
|
101
|
+
capitals.
|
|
102
|
+
- **The dashboard:**
|
|
103
|
+
- The ember band holds the method, the URL, the state, the concurrency
|
|
104
|
+
and the clock.
|
|
105
|
+
- The big numbers' names are tags, and the verdict is a badge in ink on
|
|
106
|
+
its level's colour.
|
|
107
|
+
- On the live tab, the charts, the totals, the latest requests and the
|
|
108
|
+
errors are cards, and the charts card carries the shadow.
|
|
109
|
+
|
|
110
|
+
Ping, ramp and setup get their bands (lime, gold, red) in follow-ups.
|
|
111
|
+
The palette already holds those colours, and the kit's `Band` takes a
|
|
112
|
+
variant per screen as each one moves over. Those screens already get the
|
|
113
|
+
square frames, tags and chips from this change.
|
|
114
|
+
|
|
115
|
+
## Why
|
|
116
|
+
|
|
117
|
+
The site and the docs have the pepper's look
|
|
118
|
+
([omarmhaimdat/pepe#216](https://github.com/omarmhaimdat/pepe/pull/216)),
|
|
119
|
+
and the screens didn't match. The mock-up that came before this work
|
|
120
|
+
recorded the real screens and laid them out again in the site's style.
|
|
121
|
+
This PR builds that design for the dashboard.
|
|
122
|
+
|
|
123
|
+
## Checked
|
|
124
|
+
|
|
125
|
+
- `cargo test`: 409 passed. Four tests that read tab titles now expect
|
|
126
|
+
small capitals.
|
|
127
|
+
- `cargo +1.98 clippy --all-targets -- -D warnings` and `cargo fmt
|
|
128
|
+
--check`: clean.
|
|
129
|
+
- Recorded the live dashboard at 120×36 against `bench/server` on
|
|
130
|
+
localhost in a hidden terminal, in the `pepe` and `paper` themes, and
|
|
131
|
+
compared it with the mock-up.
|
|
132
|
+
- Ping and setup were recorded too, to check the square frames, tag
|
|
133
|
+
titles, chips and tabs there.
|
|
134
|
+
- `python3 site/build-docs.py --check`: current. The themes table in
|
|
135
|
+
`docs/install.md` describes the new palettes.
|
|
136
|
+
|
|
137
|
+
|
|
9
138
|
## [0.51.1](https://github.com/omarmhaimdat/pepe/compare/v0.51.0...v0.51.1) - 2026-10-19
|
|
10
139
|
|
|
11
140
|
### Performance
|
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.53.0"
|
|
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.53.0"
|
|
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.53.0"
|
|
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.53.0",
|
|
123
123
|
"volta": {
|
|
124
124
|
"node": "18.14.1",
|
|
125
125
|
"npm": "9.5.0"
|