Closed Bug 1896601 Opened 10 months ago Closed 7 months ago

Frequent multi-second hangs opening mock

Categories

(Thunderbird :: General, defect)

defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: emilio, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: perf)

I suspect this is when new email arrives to my github folder which is ~100k messages and counting.

It's all in nsImapMailFolder::GetDatabase called from the main thread, called from onFolderIntPropertyChanged.

https://share.firefox.dev/3K0MOaI

Depends on: tb-mainthreadio
Keywords: perf

Not a solution, but you could try a compress commit on the folder database:

tabmail.currentAbout3Pane.gFolder.msgDatabase.commit(Ci.nsMsgDBCommitType.kCompressCommit)

It'd be interesting to see how much smaller the file is afterwards.

It might also be worth looking at this with extensions disabled, as the JS in question is extension API code.

Hello!

Are there any STR that manual QA can follow in order to reproduce this issue?

If not, could you please update the tracking flags with the version in which this issue was encountered?

Thank you in advance!

Emilio, This is also gone for you?

Flags: needinfo?(emilio)

Yes

Status: NEW → RESOLVED
Closed: 7 months ago
Flags: needinfo?(emilio)
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.