[Lazarus] Compile time varies dependiong on usage, why?

Mattias Gaertner nc-gaertnma at netcologne.de
Sun May 26 08:44:21 CEST 2019


On Sun, 26 May 2019 08:29:35 +0200
Bo Berglund via lazarus <lazarus at lists.lazarus-ide.org> wrote:

> Lazarus 2.0.0 / FPC 3.0.4 (both 32 bit) on Windows 7-x64
> 
> When I am working on my project and for example make a small change
> like moving a few controls on the form, then build the executable
> (Run/Compile) the time taken to complete varies a LOT as follows:
> 
> 1) I have not done anything inside Lazarus for a number of hours, say
> overnight, but the IDE has been running all the time. Then after I
> move the controls it takes a rather long time to compile the exe file.
> 
> 2) I am active in Lazarus for example some minutes after the situation
> above (move the controls a bit more), then the compile is a LOT faster
> and only takes a few seconds.
> 
> What causes this behaviour?

Probably your OS file cache.
For example antivirus and Windows update scans.
Or you used some other programs.


>[...]

Mattias


More information about the lazarus mailing list