从进程创建,
到稳定首页。
From process creation
to a stable home page.
冷启动分析先确认目标进程是新建进程,并排除进程复用;随后找到应用自己的启动完成语义。最早呈现的帧、第一个 Slice 或首页出现,都不自动等于启动完成。 Cold-start analysis first proves the target process is new, rules out process reuse, then finds the app’s own startup-completion semantics. The earliest presented frame, the first slice, or the home page appearing are not automatically the end.
要回答什么The question
从进程创建到用户真正可以使用的首页稳定态,时间花在了哪里?主线程、启动阶段、加载器、渲染和首帧之间的关系是什么? From process creation to a home page the user can actually use, where did the time go? How do the main thread, startup stages, loaders, rendering, and the first frame relate?
取证关注What gets inspected
- 进程创建、同名进程和主线程身份。Process creation, same-name processes, and main-thread identity.
- 直接读取的
app_startup阶段,避免按名字合成。Realapp_startupstages read from the trace, without inventing stages from marker names. - 应用帧、首帧候选和 frame_maps 映射。App frames, first-frame candidates, and frame_maps relationships.
- 包名相关的跨进程 Slice、加载器和根 Slice。Package-related cross-process slices, loaders, and root slices.
inspect_cold_start_candidatesinspect_cold_start_timeline