This section describes how to determine whether an app has janky frames, and then analyze the app's runtime logic using call stacks and trace information to identify the root causes.
For details about the basic operations related to app stuttering analysis, see Frame Analysis.
To analyze app stuttering issues:



As shown in the following figure, the expected frame rendering duration is 8 ms 330 μs, and the actual duration is 44 ms 54 μs, which far exceeds the expected duration. Thus, this frame is identified as a janky frame.

(program) indicates that the program has entered a phase of pure native code execution. During this phase, no ArkTS code runs, nor are there any instances of ArkTS calling native code or native code calling ArkTS. As such, it is generally difficult to derive effective information from this phase, and you need to switch to the Callstack lane to view specific call stack details.

You can also click Call Trees at the bottom to hide system call stacks, reducing interfering information.




Generally, the image loading process is performed asynchronously to avoid blocking the main thread and to streamline UI interaction. Synchronous loading is not recommended when the image loading takes a long time.