[fpc-devel] FPC/Lazarus Rebuild performance
Jonas Maebe
jonas.maebe at elis.ugent.be
Sun Sep 12 10:51:44 CEST 2010
On 12 Sep 2010, at 10:39, Martin Schreiber wrote:
> On Sunday, 12. September 2010 10.29:32 Florian Klämpfl wrote:
>>>
>>> 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
>
> Impressive. Now we can hook in. Where is the difference? What makes 2.4.0 so
> much slower?
In the above case: primarily the register allocator (which I mentioned before).
Jonas
More information about the fpc-devel
mailing list