[fpc-devel] Improved compiler speed by 20%

Sergei Gorelkin sergei_gorelkin at mail.ru
Tue Nov 20 09:00:17 CET 2007


Peter Vreman wrote:

> Below are the number that i get when i compiled fppkg from r9259. These show only 3% improvement.
> But also small bits help and i'll apply the patches after some cleanups.
> 
Looks like I was too optimistic in my first estimation :) Still, testing 
  the fppkg project (commandline: "ppc386 fppkg.pp -Fulnet 
-FUunits/i386-linux") gives me approximately the same ratios as I 
initially got for xmlts:

               Patched                Unpatched
No smartlink
Build all   1,338,810,161          1,670,449,515
Load PPU      386,845,718            596,421,046

With smartlink
Build all   1,646,774,139          2,002,569,727
Load PPU      399,144,263            609,837,470

I guess these numbers are hardware-dependent in some way, so someone 
else may expect yet another values.
I'll try to do more research on this, and provide more 'small bits'... :)

Sergei
> 
> Old compile all units:
> 
> ==4852== I   refs:      1,649,289,307
> 
> Old PPU Load:
> 
> ==4862== I   refs:      513,954,604
> 
> 
> New compile all units:
> 
> ==4280== I   refs:      1,634,900,650
> 
> New PPU load:
> 
> ==4290== I   refs:      496,248,276
> 
> 
> Peter




More information about the fpc-devel mailing list