Skip to content

ui::testing::StartupMilestones

Header: winui/testing/PerfCounters.hpp.

How long the process took to reach each point on the way to its first frame, counted from process creation. Unset for a point not reached yet, and on a platform the library has no backend for.

Field Type Default
first_window std::optional<Duration> The first native window was created.
first_frame std::optional<Duration> The first frame was presented.
first_idle std::optional<Duration> The message loop ran out of messages for the first time: the app is up and waiting.