[fpc-devel] FPC/Lazarus Rebuild performance

Florian Klämpfl florian at freepascal.org
Sat Sep 11 22:59:41 CEST 2010


Am 11.09.2010 22:04, schrieb Jonas Maebe:
> 
> On 11 Sep 2010, at 21:10, Florian Klämpfl wrote:
> 
>> Anyways, before this ends in an endless discussion: if anybody is 
>> interested in improving FPC compilation speed (for my needs is 
>> sufficient) and have a look at fillchar and, have a look at FPC's
>> unit loading algorithm (not the actual i/o itself but how all the
>> symbols classes etc. are restored). This two points are bottlenecks
>> which might help when they are improved, though it's pretty
>> unlikely that this will improve things more than a few percent.
> 
> Note that in 2.5.1 it will already be somewhat faster because of
> r15604 (removes a lot of calls to fillchar from the register
> allocator) and r15515 (optimizations to sysfreemem_fixed).

True, but at least I fear the generic i386 fillchar is slower than the
MacOSX system routine __bzero. But I agree also that there won't be a
big improvement by improving fillchar.



More information about the fpc-devel mailing list