Closed Bug 1819247 (sn-treeperf) Opened 2 years ago Closed 1 year ago

[meta] Improve the performance of the new TreeView

Categories

(Thunderbird :: Folder and Message Lists, task, P3)

Thunderbird 111

Tracking

(thunderbird_esr102 unaffected)

RESOLVED WORKSFORME
116 Branch
Tracking Status
thunderbird_esr102 --- unaffected

People

(Reporter: aleca, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: meta, perf, Whiteboard: [Supernova3p])

Attachments

(1 file)

Meta bug to track the work to improve the performance of the new TreeView widget

No longer depends on: 1814320
Version: Trunk → Thunderbird 111
Depends on: 1822994
No longer depends on: 1822994
Depends on: 1823349
Priority: P1 → P3
Depends on: 1828787
Alias: sn-treeperf
Whiteboard: [Supernova] → [Supernova3p]
Depends on: 1830979

This serves as a demo of tree performance, current as of the closing of bug 1830979. It's independent of Thunderbird and can be run by unzipping the file and navigating to the resulting tree-demo.xhtml. It's incomplete, but adequately demonstrates the performance issues we're experiencing.

(In reply to Sean Burke [:leftmostcat] from comment #1)

Created attachment 9335053 [details]
Tree performance demo following idle tick patch

This serves as a demo of tree performance, current as of the closing of bug 1830979. It's independent of Thunderbird and can be run by unzipping the file and navigating to the resulting tree-demo.xhtml. It's incomplete, but adequately demonstrates the performance issues we're experiencing.

When profiling scrolling in this testcase, the time is spent under the "Styles" marker but it's really doing Reflow / Layout. It's happening under the Styles marker because of a container query.
So you want to improve the layout time, by making the rows independent of each other so that only the newly-added rows have to be reflowed. This probably means that you can't use a <table>.

Closing this for now as we're in a pretty good state with the performance of the tree view.
In the next cycle we will explore the possibility of using a different widget and improving things when needed.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 116 Branch

=> WFM because it doesn't have a patch

Resolution: FIXED → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: