Closed
Bug 1780325
Opened 3 years ago
Closed 3 years ago
Calendar minimonth setup is inefficient
Categories
(Calendar :: Calendar Frontend, defect)
Calendar
Calendar Frontend
Tracking
(thunderbird_esr102 wontfix)
RESOLVED
FIXED
104 Branch
Tracking | Status | |
---|---|---|
thunderbird_esr102 | --- | wontfix |
People
(Reporter: darktrojan, Assigned: darktrojan)
References
(Blocks 1 open bug)
Details
(Keywords: perf, perf:startup)
Attachments
(1 file)
I've been running the profiler over start-up and discovered that there's a lot of inefficiencies in the minimonth:
- creating a new
DateTimeFormatter
for each day of the month - conversions from JS
Date
tocalIDateTime
only to convert back again - finding day boxes we already have reference to
- storing day boxes in an array instead of a
Map
for easy reference
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Blocks: tb-startupperf
Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/ccaf1843fdda
Make calendar minimonth more efficient. r=aleca
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•3 years ago
|
status-thunderbird_esr102:
--- → wontfix
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•