Twitter feeds paint very slowly
Categories
(Core :: JavaScript Engine: JIT, defect, P2)
Tracking
()
People
(Reporter: Tobias.Marty, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0
Steps to reproduce:
Access twitter.com and start scrolling in the feed.
Actual results:
The more content is loaded in the feed, the slower the paints get. It takes up to seconds until the content is shown on screen.
This happens both on a Pixel 4a 5G with a SD 765 and another smartphone with a SD 845. This doesn't happen with Chromium based browsers.
To me it doesn't look like an issue with CPU/GPU or network, but the rendering just seems to be very slow. You can see this as already loaded content also disappears for seconds, when I scroll to the top again.
Please see this video, which demonstrates the issue: https://1drv.ms/v/s!ArY6nA0dfc6ug6JknKUneAc62Ux7QQ?e=vmdiYN
Comment 2•4 years ago
|
||
:TMart do you have a profile you can share with us? You can use the Firefox profiler at https://profiler.firefox.com/. There is links to the usage documentation from that page, including information about how to use it on mobile. https://profiler.firefox.com/docs/#/./guide-remote-profiling
Here is the link to the profile, I hope it is helpfull: https://share.firefox.dev/3xQP24o
| Comment hidden (obsolete) |
Updated•4 years ago
|
Updated•4 years ago
|
| Comment hidden (obsolete) |
| Comment hidden (obsolete) |
Comment 7•4 years ago
|
||
Comment on attachment 9229781 [details]
Bug 1717597 - Convert test_special_search.js. r?adw!
Revision D119113 was moved to bug 1717507. Setting attachment 9229781 [details] to obsolete.
Updated•4 years ago
|
Comment 8•4 years ago
|
||
Agi to look at the profile and send to the correct Gecko team
Comment 9•4 years ago
|
||
From the profile in Comment #3 we're spending most of the CPU time in JIT javascript.
Comment 10•4 years ago
|
||
The hot JS here mostly appears to be in ReactDOM code. We have a metabug open to track improvements to ReactDOM performance.
Updated•4 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Description
•