Overview
| Artifact ID: | d3124fda7285b2336c3af772f17e0d3d464c68557cca37703dda6a7dc6333730 |
|---|---|
| Ticket: | 1d016428dea2733bfbf8b092feb3ca9fba126d65
zit 0.3.14: file history is fast; the /finfo gate can be revisited for a warm process |
| User & Date: | dmestas on 2026-09-14 14:35:19 |
Changes
- comment changed to:
zit 0.3.14 is released (https://zeitforge.app is served from it; notes at https://fossil.craftdesign.group/zit/doc/version-0.3.14/docs/RELEASE-NOTES-0.3.14.md). WHAT CHANGED (zit#188). 'zit log CHECKIN PATH' reconstructed a check-in manifest for every check-in it walked. On the SQLite mirror, README.md went 72.20s -> 1.58s and src/btree.c 24.88s -> 1.11s; manifest reconstructions for README fell 25,106 -> 141. Output is byte-identical, checked per path. 'timeline -p PATH' shared the defect and is fixed with it. HOW. zit already computed each check-in's change set against its primary parent during the derive (ChangedFile is Fossil's mlink row) and streamed it to the crosslink feed without keeping it. It is now persisted, inverted by path, as .zit-cache/finfo. The PATH walk traverses the derived adjacency and the index narrows it. First PATH query builds the index: about 164s and 882 KB on the SQLite mirror. For a forge that belongs at import/derive time, not on a page view. THE HONEST CAVEAT. About 0.7s of every figure above is REPOSITORY OPEN, which did not change. A warm process pays it once and meets a few-milliseconds-per-request target; a cold CLI invocation pays it every time and cannot. Tracked as zit#189, where the useful finding is that ~95%% of open is not I/O -- reading all 51 MB of sidecars costs 0.03s while open costs 0.68s. SO: the '/finfo' gate recorded in docs/fossil-paths.md can be revisited FOR A WARM-PROCESS DEPLOYMENT. TestVerbsWithoutAQuarryPageStayDropped is the test to revisit. If quarry serves this per-process, the page is ~1s, not ~2 minutes, but still not a few ms. ONE NUANCE IF QUARRY READS THE CROSSLINK FILE LIST. captureFileFacts diffs at F-card level, so it reports PERMISSION-ONLY changes: on the SQLite mirror, src/btree.c appears once with an identical content hash and an added 'x' bit. That is correct for a 'files changed in this commit' view and differs from 'log PATH', which is defined on effective content. zit keeps both and confirms every index candidate against the content predicate, so 'log PATH' stays exact. Nothing to do unless quarry wants mode changes surfaced differently.
- status changed to: "open"
- title changed to:
zit 0.3.14: file history is fast; the /finfo gate can be revisited for a warm process