"locate document in opened projects" is too slow

Andreas Pakulat apaku at gmx.de
Wed Apr 15 13:12:21 UTC 2009


On 14.04.09 15:26:55, Milian Wolff wrote:
> 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.

After having a quick try here at work I can reproduce this, so it seems
this is simply a bottleneck in Qt that has been fixed with 4.5. My
workmachine runs Qt4.4/KDE4.2, while my laptop runs Qt4.5/KDE4.3.

Unrelated thought: Maybe we should try QTreeView again for the outputview
with Qt4.5....

Andreas

-- 
You will be married within a year, and divorced within two.




More information about the KDevelop-devel mailing list