[Bug 36626] New: tpl_log_manager_get_filtered_events_async is pretty slow
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Apr 27 10:13:34 CEST 2011
https://bugs.freedesktop.org/show_bug.cgi?id=36626
Summary: tpl_log_manager_get_filtered_events_async is pretty
slow
Product: Telepathy
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component: logger
AssignedTo: telepathy-bugs at lists.freedesktop.org
ReportedBy: guillaume.desmottes at collabora.co.uk
QAContact: telepathy-bugs at lists.freedesktop.org
An Empathy user reported that it takes a few seconds before empathy-chat opens
the chat window when starting a new chat. After some digging, we discovered
that a lot of time was spent in log_store_xml_get_dates() (cf logs with
timestamps) as it has to load each file and execute a regexep on it.
Do we really need to parse each files? Shouldn't we start from the older files
and stop as soon as we found enough messages?
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list