[fpc-devel] Re: Whole Program Optimization with FPC 2.6.0?

2012-04-08 Thread Martin Schreiber

Am 07.04.2012 18:09, schrieb Martin Schreiber:

Am 07.04.2012 11:31, schrieb Martin Schreiber:

Hi,
A minimal MSEgui program compiled with FPC 2.6.0 is 711KB on
i386-win32 and
796KB on i386-linux.


BTW, the same MSEgui minimal program compiled with Delphi 7 has an exe
size of 571KB.


I made MSEgit Delphi compatible too:

FPC 2.6.0: 1.92MB
Delphi 7:  1.61MB

Martin

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Re: Whole Program Optimization with FPC 2.6.0?

2012-04-08 Thread Sergei Gorelkin

08.04.2012 11:33, Martin Schreiber пишет:

Am 07.04.2012 18:09, schrieb Martin Schreiber:

Am 07.04.2012 11:31, schrieb Martin Schreiber:

Hi,
A minimal MSEgui program compiled with FPC 2.6.0 is 711KB on
i386-win32 and
796KB on i386-linux.


BTW, the same MSEgui minimal program compiled with Delphi 7 has an exe
size of 571KB.


I made MSEgit Delphi compatible too:

FPC 2.6.0: 1.92MB
Delphi 7: 1.61MB

You might want to compare with FPC 2.7.1 after revision 20119, it is expected to generate smaller 
code for string and other managed type operations. For Lazarus executable I got about 10% total size 
decrease.


Regards,
Sergei
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] Re: Whole Program Optimization with FPC 2.6.0?

2012-04-08 Thread Martin Schreiber
On Sunday 08 April 2012 12:49:19 Sergei Gorelkin wrote:

  I made MSEgit Delphi compatible too:
 
  FPC 2.6.0: 1.92MB
  Delphi 7: 1.61MB

 You might want to compare with FPC 2.7.1 after revision 20119, it is
 expected to generate smaller code for string and other managed type
 operations. For Lazarus executable I got about 10% total size decrease.

I can not use FPC 2.7.1 for the testcase because of cpstrnew, sorry.

Martin
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


[fpc-devel] Re: Whole Program Optimization with FPC 2.6.0?

2012-04-07 Thread Martin Schreiber

Am 07.04.2012 11:31, schrieb Martin Schreiber:

Hi,
A minimal MSEgui program compiled with FPC 2.6.0 is 711KB on i386-win32 and
796KB on i386-linux.

BTW, the same MSEgui minimal program compiled with Delphi 7 has an exe 
size of 571KB.


Martin
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel