[fpc-devel] FPC/Lazarus Rebuild performance

Florian Klämpfl florian at freepascal.org
Sun Sep 12 10:29:32 CEST 2010


Am 12.09.2010 10:21, schrieb Martin Schreiber:
> On Sunday, 12. September 2010 10.12:59 Florian Klämpfl wrote:
>>>
>>> Agreed. My opinion is that before we start to implement difficult and
>>> error-prone multi-threading into FPC we should find out why the hell
>>> Delphi 7 can compile so much faster
>>
>> Because of the same reason why it seems to take years to port delphi to
>> 64 bit: different design goals. It seems speed were the only design
>> goal, nobody took care about maintainability or portability.
> 
> And that results in a discrepancy of factor 5..10? I can't believe it.

Digging out 1.0.10 and using some extreme example:

C:\fpc\tests\webtbs>"c:\pp 1.0.10\bin\win32\ppc386.exe" tw2242 -O2
Free Pascal Compiler version 1.0.10 [2003/06/27] for i386
Copyright (c) 1993-2003 by Florian Klaempfl
Target OS: Win32 for i386
Compiling tw2242.pp
Linking tw2242.exe
13083 Lines compiled, 0.8 sec

C:\fpc\tests\webtbs>fpc tw2242 -O2
Free Pascal Compiler version 2.4.0 [2009/12/18] for i386
Copyright (c) 1993-2009 by Florian Klaempfl
Target OS: Win32 for i386
Compiling tw2242.pp
Linking tw2242.exe
13083 lines compiled, 4.7 sec , 301376 bytes code, 1864 bytes data



More information about the fpc-devel mailing list