Tencent / Tencent/libpag

web端播放超过1分半后,cpu占用暴增至99,且异常卡顿。

Open
#2,947 0 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Jul 25, 2025.

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

Description

【版本信息】

4.2.84

【平台信息】

Web 浏览器 Chrome/138

【问题】

如题,我们是通过composition.addLayer将多个pag文件组合到一起播放,播放时长超过1分半左右,通过浏览器的任务管理器查看,cpu占用率暴增,且播放卡顿严重。

Image

https://github.com/user-attachments/assets/0f3813d0-38fe-4c9b-a81f-034339d63419

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.