poor performance and high cpu usage when playing video in web.telegram.org
Categories
(Core :: Graphics: WebRender, defect)
Tracking
()
| Performance Impact | low |
People
(Reporter: a.rainman, Unassigned)
References
Details
(Keywords: perf:resource-use)
Attachments
(1 file)
|
68.37 KB,
application/json
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/114.0
Steps to reproduce:
I try to play video (any video) on web.telegram.org and get very high CPU usage.
Actual results:
I get very high CPU usage. This is a profile measurement:
https://profiler.firefox.com/from-browser/calltree/?globalTrackOrder=a0w9&hiddenGlobalTracks=1w35w7&hiddenLocalTracksByPid=3528-01~8788-0~4212-0~7304-0~6012-0~9708-13~8492-16&implementation=js&thread=7&v=9
And the troubleshooting information from browser is included in the file
Expected results:
Minimal as possible CPU load.
| Reporter | ||
Comment 1•2 years ago
|
||
Oh, sorry. I set an incorrect profiler link, the correct is here https://share.firefox.dev/3MUIgUh
Updated•2 years ago
|
Comment 2•2 years ago
|
||
This looks like it could be a regression. Please consider using mozregression to find the exact code change which caused this issue.
Updated•2 years ago
|
| Reporter | ||
Comment 3•2 years ago
|
||
Additionally I create a bug in the Web Telegram tracker https://bugs.telegram.org/c/28935
Comment 4•2 years ago
|
||
The CPU usage on web.telegram.org does seem higher than on other sites.
The Performance Impact Calculator has determined this bug's performance impact to be low. If you'd like to request re-triage, you can reset the Performance Impact flag to "?" or needinfo the triage sheriff.
Platforms: Windows
Configuration: Specific but common
[x] Causes severe resource usage
Updated•2 years ago
|
Comment 5•2 years ago
|
||
The severity field is not set for this bug.
:jimm, could you have a look please?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 6•2 years ago
|
||
The problem is still existed in Firefox version 114.0.2 and Telegram Web A 1.61.32. The issue is existed ONLY when video is loading.
Took a look at this and can repro on Linux, with profiling showing heavy CPU usage in WebRender texture upload/updates similar to 1789996. Marking as duplicate and moving over to the WebRender component for now.
| Reporter | ||
Comment 8•2 years ago
|
||
Thank you so much! Yes, it's really like an additional WebRender performance problem.
Description
•