It seems like the following query is taking up a lot of time:
2012-04-23 17:17:26,615 - softwarecenter.performance - DEBUG - populate model from query: 'Xapian::Query((((((((((((((((((<alldocuments> AND_NOT ((<alldocuments> AND ACutility) AND_NOT ACaccessibility)) AND_NOT ((<alldocuments> AND ACaccessibility) AND_NOT ACsettings)) AND_NOT ... AND_NOT (<alldocuments> AND ACx-publication)) AND_NOT (AParmagetronad OR XParmagetronad OR APcalibre OR XPcalibre OR APcheese OR XPcheese OR APhomebank OR XPhomebank OR APstellarium OR XPstellarium OR APgimp OR XPgimp OR APinkscape OR XPinkscape OR APblender OR XPblender OR APaudacity OR XPaudacity OR APgufw OR XPgufw OR APfrozen-bubble OR XPfrozen-bubble OR APfretsonfire OR XPfretsonfire OR APmoovida OR XPmoovida OR APliferea OR XPliferea OR AParista OR XParista OR APgtg OR XPgtg OR APfreeciv-client-gtk OR XPfreeciv-client-gtk OR APsupertuxkart OR XPsupertuxkart OR APtumiki-fighters OR XPtumiki-fighters OR APtuxpaint OR XPtuxpaint OR APwebservice-office-zoho OR XPwebservice-office-zoho)) AND_NOT (<alldocuments> AND ATapplication)) AND_NOT (<alldocuments> AND ATapplication)) AND <alldocuments>))' (threaded: True): 17.0178701878
Now this supposed to be threaded and not hang the app at least :/ But that is in fact a red-herring. The bulk of the time
seems to be spend in softwarecenter.py on_query_complete() and in
self.app_view.display_matches() there (15.6 of 17s). And that spends most time deep in "self.tree_view.set_model(model)" (appview.py:177).
It seems like the following query is taking up a lot of time: performance - DEBUG - populate model from query: 'Xapian: :Query( ((((((( ((((((( (((<alldocument s> AND_NOT ((<alldocuments> AND ACutility) AND_NOT ACaccessibility)) AND_NOT ((<alldocuments> AND ACaccessibility) AND_NOT ACsettings)) AND_NOT ... AND_NOT (<alldocuments> AND ACx-publication)) AND_NOT (AParmagetronad OR XParmagetronad OR APcalibre OR XPcalibre OR APcheese OR XPcheese OR APhomebank OR XPhomebank OR APstellarium OR XPstellarium OR APgimp OR XPgimp OR APinkscape OR XPinkscape OR APblender OR XPblender OR APaudacity OR XPaudacity OR APgufw OR XPgufw OR APfrozen-bubble OR XPfrozen-bubble OR APfretsonfire OR XPfretsonfire OR APmoovida OR XPmoovida OR APliferea OR XPliferea OR AParista OR XParista OR APgtg OR XPgtg OR APfreeciv- client- gtk OR XPfreeciv- client- gtk OR APsupertuxkart OR XPsupertuxkart OR APtumiki-fighters OR XPtumiki-fighters OR APtuxpaint OR XPtuxpaint OR APwebservice- office- zoho OR XPwebservice- office- zoho)) AND_NOT (<alldocuments> AND ATapplication)) AND_NOT (<alldocuments> AND ATapplication)) AND <alldocuments>))' (threaded: True): 17.0178701878
2012-04-23 17:17:26,615 - softwarecenter.
Now this supposed to be threaded and not hang the app at least :/ But that is in fact a red-herring. The bulk of the time view.display_ matches( ) there (15.6 of 17s). And that spends most time deep in "self.tree_ view.set_ model(model) " (appview.py:177).
seems to be spend in softwarecenter.py on_query_complete() and in
self.app_