x27
Imagine you are building an online shopping site. Your goal is to build the best customer-to-customer site, similar to
Imagine a typical application that loads some data. The app starts in the initial state, starts loading, then one of 3 possible states ar
Let's say you have a long-ish Cypress test and you know a place where it might fail. You want to stop / skip the test commands.
Let me get back to the testing of negative states one
Recently I saw a Linkedin post that shows "b
技术复核(2026-10-13) :这是一篇 Nexus 5 / Android Lollipop 的历史教程,设备与工具链已过期。文中的 LRX22C 二进制对应 **Android 5.0.1 / AOSP android-5.0.1_r1 **,下文据此明确源码、驱动和刷机条件。新学习环境另补 Android 1…
本文是 Systrace 系列文章的第六篇,主要是对 Systrace 中的 Input 进行简单介绍,介绍其 Input 的流程; Systrace 中 Input 信息的体现 ,以及如何结合 Input 信息,分析与 Input 相关的问题 本系列的目的是通过 Systrace 这个工具,从另外一个角度来看待 An…
在讨论 Android 性能问题的时候, 卡顿 、 响应速度 、 ANR 常被放在一起。它们可能有共同原因,也可能同时出现,但不是按严重程度划分的三个等级。用户说“卡”,还需要分清是动画不连贯、操作后等得太久,还是系统触发了无响应判定。 动画或列表滚动的不连贯通常称为 Jank ;应用启动、亮灭屏或场景切换耗时过长属于…
在 Perfetto UI 里框出问题窗口,看主线程、RenderThread 和 CPU 状态,再截几张图,单次定位很方便。换一份 Trace 或换一台设备,截图里的判断就难以按同一口径重算。我更关心的是:下次拿到同一类问题,还能不能算出可复查的数字。 PerfettoSQL 与 Trace Processor 可以…
一份 Trace 能在 UI 里打开、SQL 也查得到行,仍可能在采集中丢过数据。线程状态缺一段、进程名对不上、Track Event 只有 ID 没有名称时,先查数据丢在哪一层,再决定哪些分析还能继续。 SQL 只能度量留下来的事件。丢失发生在 ftrace、producer 共享内存还是 central buffe…





