Open Bug 1934197 Opened 5 days ago Updated 11 hours ago

Jank - Event processing delay - Layout : Redraw / Graphics : DisplayList - Performance problem

Categories

(Thunderbird :: General, defect)

Thunderbird 134
defect

Tracking

(Not tracked)

People

(Reporter: richard.leger, Unassigned)

Details

Attachments

(1 file)

After starting TB 134.0b1 (64-bit) on Windows 10 with large IMAP mailbox 3 days only worth of caching, and waiting few minutes before recording performance profile while browsing between folders and previewing few emails mostly re-downloaded from the server... you would see in the performance profile below a lot of jank appearing during Layout, Layout : Reflow and Graphics : DisplayList

https://share.firefox.dev/3BbGADS

I do have thousands of email folders sub-nested and emails.

This may indicate some kind of performance problem and be additional root cause UI interface 1s or more delay when interacting with Thunderbird similar to Bug 1911309 and Bug 1933099.

Thought to let you know.

Flags: needinfo?(wayne)
See Also: → 1911309, 1933099
Flags: needinfo?(wayne) → needinfo?(geoff)

I don't think this is related to the other bugs. This one's doing a lot of layout/graphics work whereas the others are database and calendar issues.

It's hard to tell what is going here. Looks like the graphic-heavy work is while messages are being downloaded from the server, which suggests to me this could be our old friend the status bar progress meter. Does it still happen if you turn off the status bar (View > Toolbars > Status Bar) Richard?

Flags: needinfo?(geoff)
See Also: 1911309, 1933099

Same issue when status bar disabled.
https://share.firefox.dev/49lYwIT

There are always delay to navigating the user interface, and browsing emails and folders: e.b unfold folders, access folder content, etc...

The loading of email content in preview pane seems to happen fast.

Your second profile is very different from the first. The layout and graphics stuff has gone away, which is good, that's a problem we know about.

There's not actually a lot of jank (the program being unresponsive) in the first profile. More than we'd like, but in short bursts which isn't so bad.

The second profile does have a huge amount of unresponsiveness and it's caused by lots happening in the memory category. I don't understand what's going on there. Memory use seems to climb by 0.5GB then quickly drop again, over and over. It looks like that might be causing the unresponsiveness.

I'll see who I can find that might be able to look at this. If you repeat what you did, do you get a similar-looking profile?

If you see a profile with these memory issues again, go to Help > Troubleshooting Information, click on the link to about:memory, and save a memory report to post here. I talked to one of the Firefox engineers who reckons this looks like the program is trying to resolve a memory leak of some sort.

Here is a new profile taken just now... https://share.firefox.dev/3OFpRw8

Maybe result is different because I disabled the status bar as you requested.

After waking up computer from sleep, Thunderbird already opened. Waiting few minutes before starting using Thunderbird and recording profile... Checking new emails (none received), browsing within folders (clicking folders, expanding or folding takes causes UI delay), scrolling message list (causes delay sometime to time), opening message is fast but sometime TB also freeze by just selecting a message.

Due to the jank, TB freeze frequently for a few seconds especially upon clicks, scroll, unfold/fold folders, etc... Sometime the freeze is long enough to see the mention (Not Responding) in the title bar... but not always showing up... It make the overall experience of using Thunderbird not smooth at all.

Attached file memory-report.json.gz

Memory report attached.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: