Alex Smirnov wrote:
Peter Vreman

Sorry for that, but, I think you are not right. So, when I try to make
some compilation using make file - it will be more faster :-)  - it will
NOT search system.ppu for 23 times. I can create make file for my
project and calculate the time needed to make all of it - both with
Lazarus IDE and with simple "make all"

There is a big difference with what the compiler needs to do and what you
want. See the 'my project' in your paragraph. This is not the case for the
compiler. The compiler needs to working in general for everybody. It can
be  that this is maybe not the optimimal issue for your specific
situation.

My situation is typical. I have typical and almost small project (658 lines to compile). And it takes Lazarus 111 sec. to compile this 658 lines! So it goes like 6 lines per second! :-) Extremely fast on my Pentium 2.8GHz with 2GB RAM! Also Lazarus tries to search something for 23669 times. And only for 383 times with successful result! Thus I think that all this 111 seconds is almost wasting time that was spent in FindFirst/FindNext circle.

Try passing the -Cn parameter to the command line, it stops compiling just before the linker starts, but after the compiler has done all it files searches. See how much time that takes. Also see how much times it takes, without printing all the filenames in the messages view.

Vincent

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to