4.5 polishment: krunner (under_the_hood)

Sebastian Kügler sebas at kde.org
Tue Mar 9 11:31:01 CET 2010


On Monday 08 March 2010 23:27:19 Jacopo De Simoi wrote:
> Does each query still need a dbus roundtrip?  That can be quite slow in
> fact :/
> 
> > At the moment, we just compute a score out of the
> > click-count/click-time/last- score... not for each keystroke, but for
> > each program...
> 
> Yes, but new programs may come up with each keystroke, and this would lead
> to a computation for each keystroke, at least if I understand
> correctly....
> 
> > I will check whether it makes sense or is easily doable to change to
> > every keystroke or not :)

My experience is that "new" queries (using the nepomuk KIO slave) take about 2 sec, 
queries that have previously run (and are cached) are done in about 200ms.

That's measured on a 3 year old laptop with dual CPU, 2.5GB RAM, just to give you an 
idea of the order of magnitude.
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Plasma-devel mailing list