pepe-http 0.52.0 → 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 CHANGED
@@ -6,6 +6,68 @@ 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
+
9
71
  ## [0.52.0](https://github.com/omarmhaimdat/pepe/compare/v0.51.1...v0.52.0) - 2026-10-20
10
72
 
11
73
  ### Added
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "pepe-http",
22
- "version": "0.52.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.52.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.52.0"
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.52.0",
122
+ "version": "0.53.0",
123
123
  "volta": {
124
124
  "node": "18.14.1",
125
125
  "npm": "9.5.0"