Closed Bug 1933099 Opened 10 days ago Closed 9 days ago

Importing many items from a CalDAV server with "Offline Support" disabled can cause significant jank

Categories

(Calendar :: Provider: CalDAV, defect)

defect

Tracking

(relnote-thunderbird +, thunderbird_esr128 affected)

RESOLVED FIXED
134 Branch
Tracking Status
relnote-thunderbird --- +
thunderbird_esr128 --- affected

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 3 open bugs)

Details

(Keywords: perf, perf:startup)

Attachments

(1 file)

For a calendar without offline storage, when a multiget request is made and the server returns many items, each item is parsed and added to the calendar without yielding the event loop. Thunderbird would appear unresponsive during this time. It's particularly bad at start-up, as calendars without offline storage are synced as soon as they are initialised.

Target Milestone: --- → 134 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/1da71f7d6dfb
Yield the event loop during CalDAV item sync. r=leftmostcat

Status: ASSIGNED → RESOLVED
Closed: 9 days ago
Resolution: --- → FIXED
Summary: Importing many items from a CalDAV server can cause significant jank → Importing many items from a CalDAV server with "Offline Support" disabled can cause significant jank

Release Note Request (optional, but appreciated)
[Why is this notable]: it should be a good start-up performance improvement for some users
[Suggested wording]: CalDAV calendars without offline support could degrade start-up performance.
[Links (documentation, blog post, etc)]:

Comment on attachment 9439604 [details]
Bug 1933099 - Yield the event loop during CalDAV item sync. r=#thunderbird-reviewers

Oh wait, never mind, this landed before the merge.

Attachment #9439604 - Flags: approval-comm-beta?
See Also: → 1934197
See Also: 1934197
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: