Closed Bug 1932404 Opened 1 year ago Closed 1 year ago

v128.4.4esr Slow Loading Thunderbird when a Reminder is Loading

Categories

(Thunderbird :: Untriaged, defect)

Thunderbird 128
defect

Tracking

(thunderbird_esr128 affected)

RESOLVED WORKSFORME
Tracking Status
thunderbird_esr128 --- affected

People

(Reporter: paulburke, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [has performance profile])

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:132.0) Gecko/20100101 Firefox/132.0

Steps to reproduce:

When opening Thunderbird v128.4.4esr, it opens but is very slow loading if reminders are also loading.
If opening with no reminders loading it loads fine.
This did not happen in previous versions.

Actual results:

Slow loading.

Expected results:

Load normally.

Paul, did this behavior start happening after an update to a specific version of Thunderbird?

Yes, I was on 128.4.3esr, and after updating to 128.4.4esr the problem appeared.

Flags: needinfo?(corey)
Summary: v128.4.4esr Slow Loading Thunderbird when a Reminder is Loadinging → v128.4.4esr Slow Loading Thunderbird when a Reminder is Loading
Flags: needinfo?(corey)
Keywords: perf

Reminders are associated with calendar events. Is that what you are referring to?
128.4.2 was fine?
Is there any activity or progress bar action in the main window's status bar?

Please obtain a performance profile
https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance

Flags: needinfo?(paulburke)

Yes, Calendar events.

While it is working to load the only thing visible is the mouse cursor egg timer.

In relation to the performance profile, is there a way to set that up to start automatically immediately on opening Thunderbird, otherwise I cannot do it, as I cannot do anything in TB until the reminders are loaded ?

Flags: needinfo?(paulburke) → needinfo?(vseerror)

The doc has information about doing it at startup

Flags: needinfo?(vseerror) → needinfo?(paulburke)

I think that is a bit advanced for me, sorry.

Is there a 'dummies' guide?

Flags: needinfo?(paulburke) → needinfo?(vseerror)
  1. Open a DOS command prompt in windows.
  2. Run these in the window
set MOZ_PROFILER_STARTUP=1
set MOZ_PROFILER_STARTUP_ENTRIES=20000000
set MOZ_PROFILER_STARTUP_INTERVAL=3
  1. Start Thunderbird from the same command prompt. Typically (include the quotes)
"c:\Program Files (x86)\Mozilla Thunderbird\thunderbird.exe"
4. Do your activity (but don't take too long)
5. Capture the profile (step 3 of the document https://support.mozilla.org/en-US/kb/profiling-thunderbird-performance#w_step-3-saving-and-sharing-a-performance-profile
Flags: needinfo?(vseerror) → needinfo?(paulburke)

Hello,
Sorry for the delay in getting back to you, but following a storm I have been without electricity for around 36 hours.
I do not have any reminders scheduled now until tomorrow, so I will run it then, and come back here.

Flags: needinfo?(paulburke) → needinfo?(vseerror)

Hi,

Hopefully I have managed to do what you requested.

Here is the link:

Thanks for your help.

Hello,

I have tried to recreate the scenario using the STR from the description and did not manage to reproduce it.

I have used TB 128.4.3esr( 20241108210256) and after updated to 128.4.4esr(20241118214310) on Mac Sonoma 14.7.1. I have 3 calendars for one the accounts configured.
One of the calendar have multiple calendar events that have reminders set up, when opening TB I did not encounter any slowness. TB works as expected(mails are downloaded, can read /mark/ delete any mails, can search through calendar) and reminders are being loaded without any problem.

Is this problem still reproducing? Can you give me more info so I can try to reproduce this scenario, how many calendars do you have configured? And how many reminders are you expecting to load?

Whiteboard: [has performance profile]

Interval 30-60 seconds is entirely graphics - VSYNC and ZwWaitForAlertByThreadId.

Also, I see nothing calendar related in the profile.
After the first minute: https://share.firefox.dev/434Db5z

Is this problem still reproducing? Can you give me more info so I can try to reproduce this scenario, how many calendars do you have configured? And how many reminders are you expecting to load?

Paul?

Also, does this reproduce with Windows started in safe mode? https://support.microsoft.com/en-us/help/12376/windows-10-start-your-pc-in-safe-mode

Flags: needinfo?(vseerror) → needinfo?(paulburke)
See Also: → 1943114, 1858030

Hello,
Sorry for not replying sooner.
This appears to have been resolved during a recent update.
TB is now running normally.
Thank you for your help.
Maybe you can close the ticket now.
Paul.

Flags: needinfo?(paulburke)

Thanks for the update

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.