fluxer --debug-info --time-startup: print the time from process start to the first frame #96

Open
opened 2026-11-11 13:55:32 +00:00 by charles · 0 comments
Owner

Found by the Foundation acceptance pass (Task 26, #26), criterion 10 of the Foundation spec §9 ("cold start under 1 s on the reference workstation").

The plan's Task 26 Step 2 takes the cold-start time from --debug-info --time-startup "printed by the runtime". No task implemented that flag: apps/fluxer/src/config.rs has --debug-info only (seen on 23c10ceec5).

Wanted: with --time-startup the client logs/prints the wall-clock time from process start to (a) the store's first event (PersistResult::Loaded) and (b) the first frame presented by the window, then keeps running (or exits when combined with --debug-info, to be decided in the task). The first-frame time has to come from fluxer-ui (a message after the first draw), so this touches apps/fluxer and fluxer-ui.

Until then the acceptance record uses an outside measurement (screen polling in a headless compositor): docs/acceptance/2026-11-foundation.md, criterion 10.

Found by the Foundation acceptance pass (Task 26, #26), criterion 10 of the Foundation spec §9 ("cold start under 1 s on the reference workstation"). The plan's Task 26 Step 2 takes the cold-start time from `--debug-info --time-startup` "printed by the runtime". No task implemented that flag: `apps/fluxer/src/config.rs` has `--debug-info` only (seen on 23c10ceec5787bd08f11ff47b635b49fa269e473). Wanted: with `--time-startup` the client logs/prints the wall-clock time from process start to (a) the store's first event (`PersistResult::Loaded`) and (b) the first frame presented by the window, then keeps running (or exits when combined with `--debug-info`, to be decided in the task). The first-frame time has to come from `fluxer-ui` (a message after the first draw), so this touches `apps/fluxer` and `fluxer-ui`. Until then the acceptance record uses an outside measurement (screen polling in a headless compositor): `docs/acceptance/2026-11-foundation.md`, criterion 10.
charles added this to the Foundation milestone 2026-11-11 13:55:32 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
charles/fluxer-native#96
No description provided.