docs/ui.md: the figures of the final code commit and where each run's binary came from

The idle and talking figures are measured again on the release build of
faef132 (97 % of a core at 9.7 frames a second with a sample person talking
ten times a second, of it 91 % the software renderer and 5 % GPUI's thread;
the first, quieter run is kept beside it), the live run names its binary
(aa640cf), and the sample pictures' folder is said to go when the window
closes (checked on a real Alt+F4).

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
faumarayandClaude Sonnet 5.5 committed 2026-10-28 00:47:23 +03:00
1 parent faef1325ab
commit b27b7c7f32
1 file changed
+24 -18
+24 -18
View File
@@ -1114,7 +1114,7 @@ anyway).
| Switch | Does |
|---|---|
| `VOELIN_OPEN=swatch` | the swatch page in place of the shell; the Slint front end's other pages are not here yet and are named in a warning |
| `VOELIN_DEMO_UI=1` | the Slint front end's sample servers (`voelin_ui_vm::dev::logic`) in place of the stored ones, through the app's own events (the first is connected, with its channels, people and their pictures, the second observed); nothing is sent to the engine or kept in the store, the window's place and what the trees remember included, and the servers cannot be changed. The pictures are files of a folder of the state's own in the temporary directory, removed with it |
| `VOELIN_DEMO_UI=1` | the Slint front end's sample servers (`voelin_ui_vm::dev::logic`) in place of the stored ones, through the app's own events (the first is connected, with its channels, people and their pictures, the second observed); nothing is sent to the engine or kept in the store, the window's place and what the trees remember included, and the servers cannot be changed. The pictures are files of a folder of the state's own in the temporary directory, removed when the window closes (a killed run leaves it) |
| `VOELIN_DEMO_SERVER=2` | with the sample servers, the one on screen, counting from 0: the first (the default) is connected and populated, the second observed (its tree says it is loading), the third not connected (its tree says to connect) |
| `VOELIN_DEMO_TALK=10` | with the sample servers, one sample person starts or stops talking this many times a second (a rate from 0.1 to 100), through the app's own events: what the meter measures while someone talks |
| `VOELIN_DEV_THEME=dark\|light\|system` | the theme mode, in place of the settings' `ui.theme` |
@@ -1501,18 +1501,20 @@ the tests:
#### What a change costs
`VOELIN_METER=1`, release build of the commit that made the panes, 1440 by 960
on Mesa 26.2.5's lavapipe through Vulkan on Xvfb `:151` and `:152` with
openbox, the first sample server on screen (nine people, nine channels), the
machine's other jobs at a load average of 21 to 43; the first 15 seconds of 75
left out, 60 samples of one second; CPU in percent of one core, whose
`VOELIN_METER=1`, release build of `faef132`, 1440 by 960 on Mesa 26.2.5's
lavapipe through Vulkan on Xvfb `:151` and `:152` with openbox, the first sample
server on screen (nine people, nine channels), the machine's other jobs at a
load average of 38 to 100 (the first, shorter run of the commit before the
last fixup, at 21 to 43, is below); the first 15 seconds of 75 left out, 60
samples of one second (59 for the second run: the loaded machine left a second
out); CPU in percent of one core, whose
resolution is the 1 % of a clock tick; renders per second as the meter counts
them (the window's frames, and each pane's passes):
| | CPU, mean (max) | Of it `llvmpipe` | GPUI's thread | Resident memory | Window frames a second | Rendered a second: rail, top bar, sidebar, tree, main, members |
|---|---|---|---|---|---|---|
| Idle, the first sample server on screen | 0.5 % (2 %) | none above 0.5 % | under 1 % (the tick) | 219.5 MiB | 0.0 | 0, 0, 0, 0, 0, 0 |
| A sample person starts or stops talking 10 times a second (`VOELIN_DEMO_TALK=10`) | 105.4 % (112 %) | 100.9 % | 3.4 % | 224.1 MiB | 10.0 | 0, 0, 10.0, 0, 0, 10.0 |
| Idle, the first sample server on screen | 0.5 % (2 %) | none above 0.5 % | under 1 % (the tick) | 220.0 MiB | 0.0 | 0, 0, 0, 0, 0, 0 |
| A sample person starts or stops talking 10 times a second (`VOELIN_DEMO_TALK=10`) | 97.1 % (106 %) | 90.8 % | 5.0 % | 226.7 MiB | 9.7 | 0, 0, 9.7, 0, 0, 9.7 |
A window nobody touches is not drawn, with the tree and the panel on screen as
before (the shell alone was 192.7 MiB; the pictures and the two panes' state
@@ -1520,18 +1522,22 @@ are the difference, not itemized). Someone who talks is one engine event and so
one frame: the members panel is the only pane that is rendered for it, and the
sidebar, which every frame renders (its cards are small and have no size of
their own to cache at); the rail, the top bar, the main area and the tree are
not rendered at all in the 600 events of the run. GPUI's own thread spends
3.4 % of a core on the 10 frames a second. The rest is the software device:
`llvmpipe` draws the whole 1440 by 960 window again for every frame, about 100
ms of CPU a frame on this machine, which a GPU does; so the figure that says
what a talker costs the app is the thread's, and the one that says what a
window nobody touches costs is the idle row. (The Slint tree draws speaking bars
on its rows; with them the tree pane would be rendered for each of those frames
too, which is why this one does not: not measured.)
not rendered at all in the 570 events of the run. GPUI's own thread spends 5 %
of a core on the 9.7 frames a second (an earlier run of the commit before the
last fixup, on a quieter machine, 3.4 % at 10.0 frames, with `llvmpipe` at 100.9
% and 105.4 % in all; the loaded machine starved the process of a frame in ten).
The rest is the software device: `llvmpipe` draws the whole 1440 by 960 window
again for every frame, about 90 ms of CPU a frame on this machine, which a GPU
does; so the figure that says what a talker costs the app is the thread's, and
the one that says what a window nobody touches costs is the idle row. (The
Slint tree draws speaking bars on its rows; with them the tree pane would be
rendered for each of those frames too, which is why this one does not: not
measured.)
**Seen against a server** (the TeamSpeak 3 development server of
`dev/docker-compose.yml`, 3.13.8, release build of the commit that made the
panes, an Xvfb of its own with openbox, no sound card, the state under the
`dev/docker-compose.yml`, 3.13.8, release build of `aa640cf` (the later
fixups touch the sample pictures and two small things the run did not meet),
Xvfb `:160` of its own with openbox, lavapipe, no sound card, the state under the
checkout's `.scratch/`; a spacer heading, a sub-channel, a channel with a
password and one limited to five clients were made over ServerQuery for the run
and deleted after it): the form's Save and connect shows the real tree (Default