"locate document in opened projects" is too slow

Milian Wolff mail at milianw.de
Tue Apr 14 13:26:55 UTC 2009


On Tuesday 14 April 2009, Andreas Pakulat wrote:
> On 14.04.09 00:39:04, Milian Wolff wrote:
> > The action to locate the current document in the opened projects takes
> > too long.
> >
> > Personally I get a 3-5 second delay after hitting the icon inside the
> > project list view. During that time KDevelop GUI is completly blocked.
> >
> > Could someone take a look at that?
>
> You mean the sync icon? How large is your project and how deeply nested
> is it? Its instant here with files in KDevPlatform and KDevelop. So
> you might need to provide some profiling data so we can see where the
> time is spent (run kdevelop inside valgrind using --tool=callgrind).

Indeed, the sync icon is what I mean. And I encounter that problem e.g. with 
files in KDevplatform/languages/duchain/types.

I'll take a look at valgrind and see if I can find something interesting. 
Getting started with profiling is anyway on my agenda.

> One thing I can think of is that this option probably doesn't use the
> fileset that each project has which is a set of files inside the
> project. That could possibly speed up finding the right project.
>
> Andreas


-- 
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20090414/79393f44/attachment.sig>


More information about the KDevelop-devel mailing list