On Thu, Nov 12, 2015, at 09:54 PM, D. Michael McIntyre wrote:
> On 11/12/2015 01:41 PM, Chris Cannam wrote:
> 
> > now takes (goes off and runs "rm rosegarden ; time make") a whole 1.3
> > seconds.
> 
> Times on the order of 30 seconds are normal on this middle of the road 
> Core i5 desktop.

I realise I was trying it with a release build (much smaller). It's
about six seconds with a debug build.

Does your machine have a hard drive? HD vs SSD probably makes more
difference to link time than anything else does.

30 seconds is definitely worth trying to improve upon, and realistically
using shared libraries is the only thing that would make much of a dent
in that, although I guess you'd only save much time overall if you don't
have to re-link multiple shared library objects as well (i.e. if you're
rebuilding after a change that is local to only one of them). The
exception would be if you don't have enough memory to do a full link in
RAM (probably 2GB is about what's needed to be sure of that with debug
RG) when shared libraries should always help.

I dread to think what the dependency graph between different RG
subdirectories looks like.


Chris

------------------------------------------------------------------------------
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to