[fpc-pascal] First Test of FastMM4 for fpc
Adrian Veith
adrian at veith-system.de
Fri Dec 16 10:14:22 CET 2005
Florian Klaempfl schrieb:
> Adrian Veith wrote:
>
>
>> Hi,
>>
>> I have changed the FastMM4 that it seemd to work with fpc now. Here are
>> the results of my prior tests now with FastMM4 for fpc:
>>
>> Test1:
>> fpc (standard MM): 3.1 sec - factor = 1.34
>> fpc (FastMM4): 3.0 sec - factor = 1.30
>> delphi (standard MM): 3.1 sec - factor = 1.34
>> delphi (FastMM4): 2.3 sec - factor = 1
>>
>> Test2:
>> fpc (standard MM): 2.8 sec - factor = 1.47 fpc (FastMM4): 2.2 sec
>> - factor = 1.15
>> delphi (standard MM): 2.9 sec - factor = 1.52
>> delphi (FastMM4): 1.9 sec - factor = 1
>>
>> Test3:
>> fpc (standard MM): 2.5 sec - factor = 1,19
>> fpc (FastMM4): 2.1 sec - factor = 1
>> delphi (standard MM): 3.4 sec - factor = 1.61
>> delphi (FastMM4): 2.1 sec - factor = 1
>>
>> As you can see the benefits are not as big as compared to the standard
>> Delphi MM, but it is still slightly better than the standard MM in fpc
>> (and it reports memory leeks). I have not yet tested all of its features
>> but it seems to work so far.
>>
>
> I've commited another bunch of small optimizations, maybe you can
> retest. FastMM is implemented in assembler and hand optimized so it's
> clear that it's rather fast.
>
>
I compiled fpc from the sources from the svn repository today, but the
results are almost the same as I posted yesterday (I marked with **
where the results have changed):
Test1:
** fpc (standard MM): 3.0 sec - factor = 1.30
fpc (FastMM4): 2.9 sec - factor = 1.30
delphi (standard MM): 3.1 sec - factor = 1.34
delphi (FastMM4): 2.3 sec - factor = 1
Test2:
fpc (standard MM): 2.8 sec - factor = 1.47
** fpc (FastMM4): 2.1 sec - factor = 1.10
delphi (standard MM): 2.9 sec - factor = 1.52
delphi (FastMM4): 1.9 sec - factor = 1
Test3:
fpc (standard MM): 2.5 sec - factor = 1,19
fpc (FastMM4): 2.1 sec - factor = 1
delphi (standard MM): 3.4 sec - factor = 1.61
delphi (FastMM4): 2.1 sec - factor = 1
More information about the fpc-pascal
mailing list