Repository navigation
Open
Labels
Description
Follow-up to #4435 (perf audit, writes-idle lane). Items left out of that PR:
- WI9 (D15), read the PostgreSQL Server Dashboard in two statements and
pg_database_size()once a minute. Cut under the review rule: the kept size compared database names withString ==, so two names that differ only in Unicode form share one cached size; key it withCatalogName.same. On the Mac mini with a dashboard open: 86 statements and 1,123 M instructions a minute before, 27 and 909 on a build with WI9 and WI10 (commits 9f93fc4, e984b74, 8cd60c6, 61a9e50 in perf(storage): stop idle and repeated writes, and the caret timer with no drawn caret #4435). - WI10 (D17), dashboard reads off the user's session. Cut with WI9. A read that lands on the session driver (no database chosen, an embedded engine) must use
withMetadataRead, or it moves the transaction revision and voids an open Commit or Rollback confirmation. Cancel and Terminate on a pooled entry can queue behind other work on that entry, the very work they may need to stop: they need a connection no other work shares. - WI8, publish one dashboard board per refresh. Gate is a 60 s
dashboard-fgprofile, after WI9. - WI5, write column layouts off the main thread. Gate is a missed frame at the resize flush, not measured. Gate is quiet pass 2.
- WI13, count an answered statement as a connection check, so a busy connection skips the ping after each 300 s. Check first: the server log on the On demand setting shows the pings. Edits
DatabaseManager+ScopedDriver.swift, which the connections lane (perf(connections): read less of the catalog on connect, commit and database switch #4445) changes; after it. - WI14, wake a blocked row producer instead of polling every 2 ms (359 wakeups/s in a probe). One change with finding 16 in
PluginStreamAbortandPluginRowSpill, after M2 and EX5 from perf(export): MongoDB export documents, Parquet limits and unmeasured items left from #4434 #4444. PluginKit additive. - WI7, one-time sweep of view state no connection can reach, left by builds before perf(storage): stop idle and repeated writes, and the caret timer with no drawn caret #4435. D18 says yes if a Mac without debug builds holds thousands of such keys; none was counted.
Quiet pass 2 results will be added here.
Activity
datlechin commentedon Nov 24, 2026
Quiet pass 2: WI8 PASS, build it. 60 s dashboard profile on PostgreSQL, refresh every 5 s: publishes and graph work are 60.6% of 292 main samples, spinner 2.7%.
datlechin commentedon Nov 24, 2026
WI8 shipped in #4476.