Closed Bug 2026065 Opened 14 hours ago Closed 6 hours ago

Avoid parsing XML for every instance of frequently used calendar widgets

Categories

(Calendar :: Calendar Frontend, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED
151 Branch

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Blocks 1 open bug)

Details

(Keywords: perf)

Attachments

(1 file)

There's a number of frequently used custom elements in the calendar that parse their content from a string every time they are instantiated. Instead, they should parse it once into a document fragment and clone the fragment for each instance. This will speed up loading of calendar views.

Target Milestone: --- → 151 Branch

Pushed by martin@humanoids.be:
https://hg.mozilla.org/comm-central/rev/14d99b55c1fb
Avoid parsing XML for every instance of frequently used calendar widgets. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 6 hours ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: