[fpc-pascal] First Test of FastMM4 for fpc

Peter Vreman peter at freepascal.org
Fri Dec 16 18:22:57 CET 2005


> 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.

Commited some optimizations (remove some expensive calculations) to the
heap for small memory blocks. Please test again.






More information about the fpc-pascal mailing list