Open Bug 1717597 Opened 4 years ago Updated 2 years ago

Twitter feeds paint very slowly

Categories

(Core :: JavaScript Engine: JIT, defect, P2)

Firefox 91
Unspecified
All
defect

Tracking

()

UNCONFIRMED

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

Kevin will drop in a profile.

Flags: needinfo?(kbrosnan)

: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

Flags: needinfo?(Tobias.Marty)

Here is the link to the profile, I hope it is helpfull: https://share.firefox.dev/3xQP24o

Flags: needinfo?(Tobias.Marty)
Assignee: nobody → htwyford
Attachment #9229781 - Attachment description: WIP: Bug 1717597 - Convert test_special_search.js. r?adw! → Bug 1717597 - Convert test_special_search.js. r?adw!
Flags: needinfo?(kbrosnan)

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.

Attachment #9229781 - Attachment is obsolete: true
Assignee: htwyford → nobody

Agi to look at the profile and send to the correct Gecko team

Flags: needinfo?(agi)

From the profile in Comment #3 we're spending most of the CPU time in JIT javascript.

Component: General → JavaScript Engine: JIT
Flags: needinfo?(agi)
Product: GeckoView → Core

The hot JS here mostly appears to be in ReactDOM code. We have a metabug open to track improvements to ReactDOM performance.

Blocks: ReactDOMPerf
Severity: -- → S3
Priority: -- → P2
Whiteboard: [sp3]
See Also: → 1840771
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: