kdevelop 4 parsing on opensuse 11.2 is extremely slow for linux kerenl project

Milian Wolff mail at milianw.de
Sat Apr 3 12:35:08 UTC 2010


Vadym Krevs, 03.04.2010:
> On 3 April 2010 00:28, Milian Wolff <mail at milianw.de> wrote:
> <snip>
> 
> > But look at this:  http://pastebin.com/bN2E8vxa
> > It's actually getting called more than once ;-) And that's what makes
> > things so horribly slow for custom make files. It's never occurred to us
> > developers since all of us are only using cmake where this bottleneck
> > doesn't occur. Oh and since it's executing an external app and waits for
> > it to finish, it doesn't show up in callgrind _at all_ :-/
> 
> Multiple make/gcc invocations in includePathResolver for custom make
> file projects has been  observed by users and reported  to you more
> than once already ... just like the fact that callgrind is useless for
> I/O profiling.
> 
> https://bugs.kde.org/show_bug.cgi?id=215968#c17
> https://bugs.kde.org/show_bug.cgi?id=215968#c18
> https://bugs.kde.org/show_bug.cgi?id=215968#c21
> https://bugs.kde.org/show_bug.cgi?id=215968#c22
> https://bugs.kde.org/show_bug.cgi?id=215968#c27

Yeah you are right. Still I wonder how I can fix it, I've send David a mail and 
we'll se how we proceed. I'm personally for dumping the make-running part of 
the include path resolver and simply relying on the BuildManager (e.g. CMake) 
or the .kdev_include_paths files... But at least I should try to merge the six 
make runs to a single one and than cache it per dir. This should already 
decrease the time needed to parse a custom make project (Linux Kernel, Qt, 
...) dramatically.

Stay tuned
-- 
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/20100403/34148614/attachment.sig>


More information about the KDevelop-devel mailing list