[fpc-devel] Comparison FPC 2.2 - Delphi 7

Martin Schreiber fpmse at bluewin.ch
Thu Jul 5 09:50:18 CEST 2007


On Wednesday 04 July 2007 22.01, Yury Sidorov wrote:
> From: "Martin Schreiber" <fpmse at bluewin.ch>
>
> > Comparison FPC 2.2 - Delphi 7.
> >
> > MSEide aps\ide\mseide.pas without database support:
> > Compile time FPC: 17.9s Delphi: 1.28s
> > Exe size FPC: 2.27MB Delphi: 1.87MB
> >
> > Commandline FPC:
> > \fpc\svn\fixes_2_2\compiler\ppc386.exe -O2 -CX -XX -Xs -B -Fi..\..
>
> -XX and -CX are useless on Win32. Internal linker always do
> smartlinking and external linker does not do it.
>
> Try to pass -g- option to see if compile time will be reduced.
>
Delphi 7  -B:                           1.28s 1'964'544B

FPC 2.1.5 -O2 -CX -XX -Xs -B:           17.8s 2'384'884B
FPC 2.1.5 -g- -O2 -CX -XX -Xs -B:       17.8s 2'384'884B
FPC 2.1.5 -Xe -O2 -CX -XX -Xs -B:       21.2s 3'114'496B
FPC 2.1.5 -O1 -CX -XX -Xs -B:           16.7s 2'517'492B
FPC 2.1.5 -O- -CX -XX -Xs -B:           15.1s 2'574'836B

FPC 2.0.5 -O2 -CX -XX -Xs -B:           48.9s 2'566'144B
FPC 2.0.5 -O2 -Xs -B:                   17.9s 2'725'888B
FPC 2.0.5 -O1 -Xs -B:                   16.6s 2'780'672B
FPC 2.0.5 -O- -Xs -B:                   15.6s 2'865'152B

Martin



More information about the fpc-devel mailing list