gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit477d7bdc477d7bdcMerge branch 'p50'mre477d7bdc/reports/B1-blocks.md

3.3 KB

  1. # B1 — compact Markdown blocks (gitoria, README tab data)
  2. Branch `b1-blocks` (from main cd99d2f). Change: `lib/markdown.hl` only; the view `components/markdown.hl` is untouched.
  3. * Block = one flag naming its kind (`isP`/`isH1`/`isH2`/`isH3`/`isUl`/`isOl`/`isCode`/`isQuote`/`isTable`/`isHr` = true) plus only the fields that kind has
  4. (`spans`; `items` (+`start` for ol); `code`; `head`+`rows`). Was: 10 booleans + `spans items start code head rows` on EVERY block.
  5. * Span = `{ text, isText|isStrong|isEm|isStrongEm|isCode|isLink = true }` (+`href` for links only). Was: text + 6 booleans + href on every span (the bulk of the 607 KB).
  6. * NOT a literal `kind` string: a View `if` takes a member/field path, not a comparison ("hl:web: a View `if` takes a member, a field path … this one is an expression" — tried, the app does not boot). So the kind is the (single) present true field, the rest omitted. A `kind` string would need hl:web to allow `if (b.kind == 'p')` in a View (gap for Arachne, not worked around with JS).
  7. ## Proof 1 — rendered HTML byte-identical
  8. Newest backup (gitoria.worldapi.org-20261022-2202.tgz) extracted to a COPY (two copies: old and new server), 14 repos' homepages fetched as server-rendered HTML
  9. (Host: <repo>.localhost), seed script and `?v=` hashes and ports normalised: all 14 `cmp` identical (9 real READMEs: tracker 1655 lines, antcolony 1294, tickets 945, ident 744, routger, gitoria, notes, calendar, components; 3 without README).
  10. `termuplex` got the 2 005-line "longdoc" README (G2's generator); `email` got an edge README (h1–h5, empty `#`, strong/em/both, code, links incl. a refused `javascript:`, bare and `<…>` URLs, quote, hr, ul/ol with start 3, `1)`, wrapped item, table with inline spans, fenced js, tilde fence, unclosed fence): identical too.
  11. Client-rendered DOM (after the Code→Readme click in Chrome): `#homepage` innerHTML sha256 c5b6dfd2785a64a2 (640 282 chars), identical old/new, at 1280 and 390.
  12. Method sensitivity: the first compare run flagged differences from ports alone (cmp fails on any byte); tools: s/snap.sh.
  13. ## Proof 2 — value size and click→text, longdoc, headless real Chrome (/opt/google/chrome/chrome; lisbeth's Chrome on :9223 did not answer), 5 runs, G2's stopwatch (pointerdown → h2 in DOM + 2 rAF)
  14. * Page values (`hl-seed` text): **675 229 → 221 941 chars (−67 %)**. The Code→Readme click ships one websocket frame: **675 265 → 221 977 chars**. Full page HTML (longdoc) 1 319 761 → 866 473; tracker 1 465 979 → 1 071 925 bytes.
  15. * click→text ms (runs; median): 1280 old 2712 2639 2565 2348 2195 (2565) | new 2739 2953 2677 2640 2557 (2677). 390 old 2622 2629 3227 3125 2937 (2937) | new 2440 2592 2399 2736 2916 (2592). Long tasks ~500–800 ms both.
  16. * Honest reading: **no measurable click→text gain** (differences are inside the machine noise); the time is the client building ~2 600 elements (hl:web, Arachne's W85), not parse/copy of the values. The win is 3x smaller values/frames/page HTML and less server serialisation.
  17. ## Proof 3 — gates (deploy.sh GATES, my ports 8720–8723, Chrome 8710–8719, Firefox 8729)
  18. old (cd99d2f): theme check rc 0; browser.mjs **232 passed, 0 failed**. new: theme rc 0; browser.mjs **232 passed, 0 failed**. (One earlier new run had 1 FAIL "chain: Back button" while a stray worktree sat inside my tree and the theme check scanned it; rerun clean: 0 failed.)

Branches

Latest commits

  • 477d7bdcMerge branch 'p50'mre
  • 00efc06fP50 reportmre
  • e3f85afblog: commit mention slipmre
  • 4d1a4cf4log: #25 numbersmre
  • 1af0a60ddocs: H25 run() correctionmre
  • eefa2dbcRepo setting: refuse direct pushes to the main branch (pre-receive over HTTPS and ssh)mre
  • 8c8ba2f1log: PR flow announcedmre
  • fa00cd35log: Kunibert pings provenmre
  • 3a68cfaclog: components decisionmre
  • 87de8e31log: Kunibert connected to 9 app reposmre
  • c22aff69log: PR-only rollout startedmre
  • 25309981log: STOP and paused workers 2026-11-08mre
  • 5286803alog: worker briefs and reports of 2026-11-08mre
  • 85c86605log: 2026-11-08 Arachne on list shapemre
  • cb634512log: 2026-11-08 keyed lists livemre
  • 07c98d4aLists: keyed rows with @id, remove(id) and one whole-list assignment instead of hand-rebuilt loopsmre
  • 0db0d81elog: 2026-11-08 day52 live, W30 startedmre
  • b05f6d92tests/status: the gate's 3 s app token expired during the restart; it lives 60 s like status-keyedmre
  • 1e8f4f0avendor: Hybriel set-day52 (fault-path leak fix #335, keyed rows #331)mre
  • f5f0fb7blog: 2026-11-08 day50/#29 live, H25 correction, V52 startedmre