[fpc-pascal] First Test of FastMM4 for fpc

Florian Klaempfl florian at freepascal.org
Thu Dec 15 20:57:56 CET 2005


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.

> 
> 
> 
> _______________________________________________
> fpc-pascal maillist  -  fpc-pascal at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-pascal
> 




More information about the fpc-pascal mailing list