[Lazarus] I desperately need some ideas of reducing edit, compile, debug cycle

Marco van de Voort marcov at stack.nl
Mon Nov 29 13:39:55 CET 2010


On Sat, Nov 27, 2010 at 11:52:08AM +0100, Sven Barth wrote:
> That's why the introduction of the internal linker reduced compile time 
> on Windows that much: one less process to execute :D

The binary startup time matters for building via make files.

I doubt if it matters for compiling _apps_ in lazarus. Once compiler, once
linker, each 100ms, together 200ms, clearly not the major component.

The internal linker is simply faster. Smartlinking lazarus on windows  could
take 10 _minutes_ with the external linker on a not that old (Core 2 1.7Ghz)
machine, eating 1.5GB in the process. Now reduced to 30s and 400MB. (on the
same machine when I last tested it, 2.2.x days)

In my experience, Windows is relatively slow in enumerating directories. If
you reduce the number of search dirs, the compile time will considerably
improve.





More information about the Lazarus mailing list