[fpc-devel] Unit loading overhead
florian at freepascal.org
Sat Jul 17 20:05:51 CEST 2010
Jonas Maebe schrieb:
> Florian Klaempfl wrote on Fri, 16 Jul 2010:
>> One of the bottlenecks the common user encounters, is unit loading:
>> especially projects like the lazarus suffer from the time spent into
>> unit loading while I suspect that it narrows down also to procedures
>> like fillchar which consume a lot of time.
> The main slowdown when recompiling projects is that FPC often recompiles
> or re-resolves the same unit multiple times when a unit in its uses
> clause has changed. The ppu loading itself is quite fast. Recompiling
> Lazarus without changing any unit just takes 2.2 seconds on my machine
> (without assembling/linking).
Might be windows related (file searching) ...
More information about the fpc-devel