summaryrefslogtreecommitdiff
path: root/docs/typ
diff options
context:
space:
mode:
Diffstat (limited to 'docs/typ')
-rw-r--r--docs/typ/running.typ23
1 files changed, 17 insertions, 6 deletions
diff --git a/docs/typ/running.typ b/docs/typ/running.typ
index 65498380..8177ec39 100644
--- a/docs/typ/running.typ
+++ b/docs/typ/running.typ
@@ -117,9 +117,15 @@ spelling of `attach work`.
// same build, handed on); replica.zig:1-19 (speculation and rollback);
// replica.zig:2013-2023, views.zig:31, Core.zig:1110-1153 (four views, the
// session's own among them); replica.zig:2111-2133 (a client leaving);
-// replica.zig:756-757 (a kind's code runs in no replica); gui.zig:2147-2150
-// (a client's notch: whole rows, no glide); gui.zig:580-608 (a client's
-// font: the session's request, by the face's name on this machine).
+// replica.zig:756-757 (a kind's code runs in no replica); gui.zig:2147-2161
+// (a client's notch: whole rows sent), :3544 (glideFrame: the picture on
+// the client's clock); gui.zig:580-608 (a client's font: the session's
+// request, by the face's name on this machine). Measured 2026-11-17
+// (.scratch/sketch/reports/pardes-measure.md sections A, C and E): a
+// client's notch glides as the session's window does (5 frames, 0 to
+// -22 px); a terminal's client 10-16 MB PSS idle, a window's about 110 MB
+// (187 MB RSS), as a window session's, three quarters of it the GPU and
+// display libraries.
A session draws one frontend of its own, so the second attach is a client.
The daemon checks the client's hello (the session's name, and the client's
build: a client must be the build its session is) and hands its
@@ -132,9 +138,14 @@ A session takes three clients: four views at once, its own among them. A
client's #word("Detach"), or its terminal or window closing, ends that
client only; the last client of a detached session leaves its layout as
the session's, for the next one to find. In a client, an addon's panes
-show what the session's code drew (the code runs only in the session); a
-window client's wheel moves whole rows, with no glide, and it takes the
-session's font only when the same face is installed on its machine.
+show what the session's code drew (the code runs only in the session). A
+window client's wheel glides as the session's own window does: whole rows
+go to the session, and the picture moves between them on the client's own
+clock. It takes the session's font only when the same face is installed on
+its machine. A client costs what a frontend of its kind costs: 10-16 MB
+for a terminal's, about 110 MB for a window's, the same as any window
+(mostly the GPU and display libraries); its copy of the core is the small
+part.
= A far session <run-far>