Tencent / Tencent/libpag

PAG动画播放时占用系统cpu资源高,跟播放视频一个级别。

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

@kevingpqi123 is already working on this.

Since Mar 5, 2024.

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

Description

【版本信息】

4.3.43

【平台信息】

Android 原生

【预期的表现】

PAG动画播放时占用系统cpu资源高,跟播放视频一个级别。

【实际的情况】

使用android 官网demo,引入最新的4.3.43版本。
发现动画在播方式cpu占用非常高。,到了一般的视频播放程序占用级别,和腾讯视频播放时cpu占用几乎等同。
image

image

image

腾讯视频播放占用
image

【Demo及附件】

官网demo,lib库使用4.3.43

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.