Closed Bug 1875577 Opened 6 months ago Closed 6 months ago

Unified folders that are grouped by sort open significantly slower in expand-all state than in collapse-all state

Categories

(Thunderbird :: Folder and Message Lists, defect, P2)

Thunderbird 115

Tracking

(thunderbird_esr115 wontfix)

RESOLVED FIXED
124 Branch
Tracking Status
thunderbird_esr115 --- wontfix

People

(Reporter: welpy-cw, Assigned: welpy-cw)

References

Details

(Keywords: perf)

Attachments

(1 file)

Opening a saved search that spans two folders and contains about 8000 messages grouped by sort with all groups expanded takes about 5 times as long as opening it with all groups collapsed. While there may be be some optimization potential in the backend code, the easy solution appears to be to simply open the view in collapse-all state followed by expanding all groups when all messages have been loaded.

Assignee: nobody → h.w.forms
Status: NEW → ASSIGNED
Attachment #9375552 - Attachment description: Bug 1875577 - Improve performance when opening a cross-folder view in expand-all state. r=#thunderbird-reviewers → Bug 1875577 - Improve performance when opening a cross-folder view grouped by search in expand-all state. r=#thunderbird-reviewers

Marking wontfix for 115 since we're 6 months away from next year and we can be a bit more aggressive with code changes and improvements without uplifts limitations.
Does this also happen with beta or daily?
We have some improvements that landed there already but weren't uplifted to 115, so it's better to use daily as reference until we hit the 128 beta cycle.

Severity: -- → S3
Priority: -- → P2
Attachment #9375552 - Attachment description: Bug 1875577 - Improve performance when opening a cross-folder view grouped by search in expand-all state. r=#thunderbird-reviewers → Bug 1875577 - Improve performance when opening a cross-folder view grouped by sort in expand-all state. r=#thunderbird-reviewers

While I discovered this in 115, I did the mentioned time measurements with the latest artifact build.

Performance profiles for opening a cross-folder saved search grouped by sort with 8314 messages:

In collapseAll state about 1.7 s delay.
In expandAll state about 8.9 s delay.

This also happens when leaving quick filter. I changed the patch to cover this case as well.

Blocks: 1849650
See Also: → 1844381

Pushed by kaie@kuix.de:
https://hg.mozilla.org/comm-central/rev/6428fd9f4e13
Improve performance when opening a cross-folder view grouped by sort in expand-all state. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED

fix missing target milestone

Target Milestone: --- → 124 Branch
See Also: → 1875655
Regressions: 1889021
Regressions: 1890049
No longer regressions: 1890049
Duplicate of this bug: 1844381
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: