Quantcast
Channel: Tools
Viewing all articles
Browse latest Browse all 91752

Forum Post: RE: long build time (CCS 5.4, 64-bit Ubuntu)

$
0
0

[quote user="AartiG"]

Do you see this 'hang' while "Refreshing workspace..." only at build time or does it also happen at other times, say when changing project properties or opening the workspace etc?

[/quote]

It only happens at build times.  When I start CCS (and open the workspace) it is fast and without issue.  I haven't seen anything like this with modifying my project properties, although I really don't do that very often.

[quote user="AartiG"]

Does the build stall when one or more particular source files are being built, or is it generally slow throughout the build process? If it is concentrated on one or more source files we should focus on those.

Approximately how many source files are in your project and are they mostly large or small in terms of lines of code?

[/quote]

I have two source files.  One is over 3500 lines long, and the other is only 300 lines long.  I see the short one finish in the CDT Build Console, before it waits on the "refreshing workspace", so I'm assuming that it's working on the long one when this happens.

[quote user="AartiG"]

You mentioned that this message recently started appearing more consistently. Did anything else change in your project/system (other than adding  more lines of code to source files)?

[/quote]

I can't really recall anything else changing.

--- --- --- --- ---

So, is there a general non-written rule about avoiding very long source files?  I'll try to make it shorter by breaking up my code.


Viewing all articles
Browse latest Browse all 91752

Trending Articles