Tencent / Tencent/libpag

请问一下我们的应用在静止状态 pag 在 time profile 的 Weight 一直增高是正常的吗?

Open
#3,065 1 comment 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Oct 31, 2025.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.4.35

【平台信息】

iOS 原生
背景: 我们发现在版本迭代,大规模替换列表上的pag动画,优化内容为PagView -> PagImageView。
但是上线后有大量的用户投诉,app发热非常严重,会引发系统降频和卡死。
经过长达14天的排查,发烫的手机我们用time profile尝试定位,排查到启动后静止一段时间,手机进入发烫阶段,堆栈如下图。
不发烫的手机静止的时候是没有liapag 的堆栈一直在子线程跑的。
排查到
Image

Image Image

我们想请教一下 这个问题是否属于预期内的?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.