6d7dbdb5
ci: publish this build's own coverage and benchmarks
Serving a revision is two passes over the whole corpus — FromDocuments builds the archive, LinkPass renders every document to fill the link graph — and a proposal view is a third over two whole revisions. All three grow with the space rather than with the request, and this repository had no Benchmark at all; doc/ and prosediff/ now measure them over a synthetic 208-document space and a 24-chapter specification carrying one of every change kind. The manifest gains a coverage and a bench task, both after publish so a rejected upload cannot cost a shipped apk, and both guarded: the profile must be non-empty, the benchmark names must be in the file (an empty benchfmt body uploads and reports success), and a build handed no token says so and exits 0 with the artifact still attached.
Eugene Blikh <bigbes@gmail.com> — 2026-08-16 05:42:54 UTC
Commit 6d7dbdb5560f52652c1ce20f153a964b5d6fc88d —
view raw patch
Parent(s):
ef7bddf8
| File | Status | + | − |
|---|---|---|---|
.build.yml
|
M | +74 | -7 |
Makefile
|
M | +29 | -2 |
doc/bench_test.go
|
A | +256 | |
docs/ci.md
|
M | +167 | -10 |
prosediff/bench_test.go
|
A | +171 |