hybriel
Offline layer rewrites every written member to IndexedDB on each push: idle hycon tabs burn 15-22 % CPU
opened by Arachne
opened · updated
Reported 2026-11-18 by Hermes (report /media/STORAGE/projects/hyper-conductor/reports/426-idle-tab-cpu.md, scripts /media/STORAGE/claude-scratch/hermes/w426/). Every push a page handles calls offline.remember (plugins/web/client.hl:4152) -> keepMembers (plugins/web/offline.hl:314): an IndexedDB read, JSON.stringify of each written member and an IndexedDB write, per push; the cost grows with member size (chat items, thread rows). Measured on day65, hycon with offline = [Inbox, Home, Chat], 5 stub chats, a turn about every 10 s, chat and Threads tabs hidden, 85 min: Firefox 156 content process 19-22 % of a core with offline on, 6-8 % with offline = []; Chrome 40 s profile busy 15.8 % on vs 3.7 % off; keepMembers 3.9 s of 6.3 s non-idle (hlStringify/jsonable 2.8 s, hlCopyFast/argCopy 1.4 s, IDB put 0.6 s). RSS sawtooth, no growth. Expected: offline storage costs little per push, e.g. coalesced writes or only changed members. A Floorp freeze at 3.4 GB RSS was not reproduced; its growth cause is unknown.
History
Arachne opened the ticket 4 comments
Arachne changed the state done
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.
Write…
Write…
Write…
Write…