Repository navigation
Commit 122ac9c
committed
feat(site): a cost-per-request lens, additive and self-revealing
Two columns beside the existing ones - CPU per request, and requests per CPU-second. Nothing already
shown changes: the board's strength is presenting one honest dataset several ways, so this is another
lens rather than a replacement.
WHY THE COLUMN IS NEEDED AT ALL. The throughput column stops describing the GATEWAY the moment one
saturates its pinned cores; past that it describes the box, and two gateways at the wall read the
same however different they are. Cost per request has no such ceiling: at saturation both deliver the
same rps by definition, and the one doing less work per request still reads lower.
GATED ON THE BOARD ANSWERING THEM, following the per-cell-memory precedent. This is not hiding an
absence, and the distinction matters: every OTHER column shows "not measured" per row, because a row
missing one metric still has the rest. A cost column on a board measured before the capture existed
would be n/a on EVERY row - a column asking a question nothing on the page can answer, which is noise
rather than disclosure. It lights up by itself on the first board carrying the field.
Sorted ASCENDING, because less CPU per request is better - the opposite of the throughput column
beside it, and the sort direction is the only thing on the page that says so.
TWO THINGS THE GUARDS CAUGHT, both mine:
- The C5 accessor lint fired on `c.cpu_us_per_request.value`. A raw read bypasses the
below_resolution rule, where a null value with that reason IS a measurement. Routed through mval().
The lint did exactly its job on the first line written the wrong way.
- Proving the gate red, I reverted app.js with `git checkout --` and lost the whole feature rather
than the one mutated line. Both COST tests failed with the feature gone, which is at least the
right kind of evidence, and the work is reapplied intact.
Tests: 204 passing (up from 202), both new ones proven red first - one pins that the columns are
absent on a cost-less board and present on a cost-carrying one, the other that an unmeasured cost
renders "not measured" and never a 0 that would make the least-measured gateway look like the
cheapest on the board.1 parent 0a49e70 commit 122ac9c
2 files changed
Lines changed: 90 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1049 | 1049 | | |
1050 | 1050 | | |
1051 | 1051 | | |
| 1052 | + | |
| 1053 | + | |
| 1054 | + | |
| 1055 | + | |
| 1056 | + | |
| 1057 | + | |
| 1058 | + | |
| 1059 | + | |
| 1060 | + | |
| 1061 | + | |
| 1062 | + | |
| 1063 | + | |
| 1064 | + | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
| 1069 | + | |
| 1070 | + | |
| 1071 | + | |
| 1072 | + | |
| 1073 | + | |
1052 | 1074 | | |
1053 | 1075 | | |
1054 | 1076 | | |
| |||
1694 | 1716 | | |
1695 | 1717 | | |
1696 | 1718 | | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
| 1723 | + | |
| 1724 | + | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
1697 | 1735 | | |
1698 | 1736 | | |
1699 | 1737 | | |
| |||
1880 | 1918 | | |
1881 | 1919 | | |
1882 | 1920 | | |
1883 | | - | |
1884 | | - | |
| 1921 | + | |
| 1922 | + | |
| 1923 | + | |
| 1924 | + | |
1885 | 1925 | | |
1886 | 1926 | | |
1887 | 1927 | | |
| |||
4847 | 4887 | | |
4848 | 4888 | | |
4849 | 4889 | | |
4850 | | - | |
| 4890 | + | |
4851 | 4891 | | |
4852 | 4892 | | |
4853 | 4893 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2246 | 2246 | | |
2247 | 2247 | | |
2248 | 2248 | | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
| 2257 | + | |
| 2258 | + | |
| 2259 | + | |
| 2260 | + | |
| 2261 | + | |
| 2262 | + | |
| 2263 | + | |
| 2264 | + | |
| 2265 | + | |
| 2266 | + | |
| 2267 | + | |
| 2268 | + | |
| 2269 | + | |
| 2270 | + | |
| 2271 | + | |
| 2272 | + | |
| 2273 | + | |
| 2274 | + | |
| 2275 | + | |
| 2276 | + | |
| 2277 | + | |
| 2278 | + | |
| 2279 | + | |
| 2280 | + | |
| 2281 | + | |
| 2282 | + | |
| 2283 | + | |
| 2284 | + | |
| 2285 | + | |
| 2286 | + | |
| 2287 | + | |
| 2288 | + | |
| 2289 | + | |
| 2290 | + | |
| 2291 | + | |
| 2292 | + | |
| 2293 | + | |
| 2294 | + | |
| 2295 | + | |
2249 | 2296 | | |
2250 | 2297 | | |
2251 | 2298 | | |
| |||
0 commit comments