Page 1 of 1

Background parsing

Posted: Fri Jul 31, 2015 4:00 am
by fueler
I am trying to use CodeLite with an existing project that a massive code base, number of files and lines of code. I found that parsing was quite slow. I tried a number of IDEs, all choked. KDevelop did not and one of the benefits was that it did background parsing for autocomplete and referencing. Any thoughts on roadmap with this? CodeLite is my favorite editor.

Re: Background parsing

Posted: Fri Jul 31, 2015 8:34 am
by eranif
CodeLIte's parsing is done in the background, the question is how "strong" is your box?

Can you share your code base (i.e. is it open source?)

Re: Background parsing

Posted: Sat Aug 01, 2015 12:51 am
by fueler
The project is using a custom build system that puts the build objects in a sibling directory. It also when building it will copy header and library files so that when including the top most directory codelite is including those as well. The code file total is well over 20k. To parse and pull that in took a long time. I'm working with the build system team to make it easier.

Re: Background parsing

Posted: Sat Aug 01, 2015 12:53 am
by fueler
Also, the machine I am on is a 8 core with plenty of ram.

Re: Background parsing

Posted: Sat Aug 01, 2015 8:21 pm
by eranif
I wonder if the fact that you copy the header files (i.e. update their timestamp) affects the parsing decision...
CodeLite will re-parse any modified header and if the headers are re-taken from that folder... than after each build the entire files will get re-parsed

Eran

Re: Background parsing

Posted: Mon Aug 03, 2015 4:14 pm
by fueler
Some more data points.

Same codebase on Mac OSX, project loads very quickly. However, c++ parsing afterwards did not complete, stops around 20%. I tried to restart it a number of times.
Same codebase on Linux, project loads slowly but c++ parsing seems faster (more cores and memory than OSX laptop). Parsing completes.

Also, using X2Go on linux box to my OSX laptop for remote GUI. The GUI is a sluggish when scrolling. Is there a way to turn off animations so less changes; I've seen this on other editors.