Skip to content
quarry History Of Ticket 9e53a2d9d9
Login

History Of Ticket 9e53a2d9d9

Artifacts Associated With Ticket 9e53a2d9d9

  1. Ticket change [dd182d2745] (rid 4464) by ai-local on 2026-08-31 11:53:27:

    1. Untracked field cmimetype: "text/x-markdown"
    2. comment initialized to:
      Measured 2026-08-30 on the restored sqlite mirror.
      
      /r/sqlite/file/trunk/src/btree.c: TTFB 490ms, footer reports 461.6ms with no ops breakdown, so the time is in-process. src/select.c 474ms, src/sqlite.h.in 208ms. A 310KB timeline page renders in 12ms, so this is not general template cost — it is per-request work proportional to file size.
      
      A blob is immutable by hash, so its highlighted HTML is too. Cache keyed on (blob hash, lexer) and the 460ms becomes a map lookup on every repeat view. This is the single largest lever for the large-file pages.
      
      Acceptance: second request for the same blob is served from cache and reports an order-of-magnitude lower render time; cache is bounded (size or LRU) so a corpus sweep cannot exhaust memory; wipe+reingest changes nothing observable.
      
    3. priority initialized to: "High"
    4. severity initialized to: "Important"
    5. status initialized to: "Open"
    6. subsystem initialized to: "web"
    7. title initialized to: "Cache rendered syntax highlighting by blob hash"
    8. type initialized to: "Feature"
  2. Ticket change [5ad6ffba69] (rid 4527) by ai-local on 2026-08-31 15:32:18:

    1. icomment:
      Landed in f4e226e5 (content-hash cache, byte-budgeted) and 05dbba30 (singleflight). Ten concurrent cold readers of sqlite where.c went from ~0.95s each to ~0.42s — one tokenisation shared, not ten. Test asserts 24 readers collapse to <=4 calls, under -race.
      
    2. mimetype: "text/x-markdown"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  3. Ticket change [8df8a91c25] (rid 12550) by zeitgeist on 2026-09-24 00:55:27:

    1. Untracked field number: "114"