Open Bug 1893571 Opened 5 months ago Updated 21 days ago

slow quick filter

Categories

(Thunderbird :: Search, defect)

Thunderbird 127
defect

Tracking

(Not tracked)

People

(Reporter: wsmwk, Unassigned, NeedInfo)

References

Details

(Keywords: perf)

Nightly build 127.0a1 20240424100914, quick filter can be janky. I could be wrong but I feel like this started happenin in the last few weeks.

  1. Inbox folder for work account, not unified folder mode - unthreaded, sort by date ascending, 13,000 messages
  2. type or paste "test" in quick filter, display of message list and count of filtered messages changed in two parts - the final display and one intermediate
  3. click "clear text field", display of message list and count of filtered messages changed in two parts - the final display and one intermediate

Result: both show as being about 3 seconds in this performance profile https://share.firefox.dev/4bcyuaE - #2 first and #3 second.
Alternate result: change folder to threaded, there is no intermediate result

Abbreviated stack is roughly:
nsMsgQuickSearchDBView::Open
nsMsgThreadedDBView::InitSort
nsMsgDBView::Sort
std::__1::sort[abi:un170006]
std::__1::__partition_with_equals_on_right[abi:un170006]
nsMsgDatabase::RowCellColumnToAddressCollationKey
mozilla::mailnews::DecodedHeader

Version: unspecified → Thunderbird 127
Depends on: 1908761
Keywords: perf
Flags: needinfo?(vseerror)
You need to log in before you can comment on or make changes to this bug.