Bug 228295

Summary: Code browser database loading pretty slow
Product: [Applications] kdevelop Reporter: Mihai <mihai.stanescu>
Component: generalAssignee: kdevelop-bugs-null
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mihai 2010-02-24 12:42:21 UTC
Version:           3.9.98 (using KDevPlatform 0.9.98) (using 4.3.3 (KDE 4.3.3), Gentoo)
Compiler:          x86_64-pc-linux-gnu-gcc
OS:                Linux (x86_64) release 2.6.29-gentoo-r5


Finally i decided to let kdevelop parse all my project. I have a huge project.

It took about 5min 22 seconds of CPU time measured in "top" application to finalize loading and parsing of the project. 

Ok...i close kdevelop and start again. It gook about 3 minutes 30 seconds to load and fully parse the project again.

This is pretty slow considering Milian Wolff  said:

https://bugs.kde.org/show_bug.cgi?id=218302

/// quote start
Comment #1 From  Milian Wolff   2009-12-11 17:27:51   (-) [reply] -------

We already use a persistent storage.
/// quote end

I placed this as a bug and not as a feature assumming maybe the persistent database is not used?

If database is already present and use why is it taking so long to load it?
Comment 1 Andreas Pakulat 2010-02-24 13:55:43 UTC
Please run kdevelop with valgrind's callgrind or with oprofile to find out where the time is spent. The report is completely useless currently as we don't have your project, we don't have your system and we have no clue what you see while its loading or what you're doing while its loading.
Comment 2 Milian Wolff 2010-02-24 13:59:56 UTC
Marking as duplicate. KDevelop still needs some profiling and performance improvements here and there. But be assured: Your few minutes are nothing compared to what others have experienced ;-)

*** This bug has been marked as a duplicate of bug 215968 ***