[Lazarus] Performance of GTK 2 and CE

Henrique Faria henrique_faria at msn.com
Sat Nov 8 14:19:04 CET 2008


You should disable the (-gl) in debugging to have symbols stripped from exe.

Henrique.

> From: markMLl.lazarus at telemetry.co.uk
> Date: Sat, 8 Nov 2008 09:31:14 +0000
> To: lazarus at miraclec.com
> Subject: Re: [Lazarus] Performance of GTK 2 and CE
> 
> Mark Morgan Lloyd wrote:
> > Felipe Monteiro de Carvalho wrote:
> >> On Fri, Nov 7, 2008 at 12:33 PM, Henry Vermaak <henry.vermaak at gmail.com> wrote:
> >>> compile with -Xs or manually run arm-wince-strip --strip-unneeded on the exe.
> >> I don't know if it's any different, but I usually do: arm-wince-strip
> >> --strip-all myfile.exe
> > 
> > Thanks both. I've dropped Andy a note reminding him to check the ML.
> 
> This from Andy:
> 
> The machine isn't short of RAM - it has 128Mb and I've closed down all 
> all other programs.
> 
> But the .exe was 9.81Mb, not 1.5Mb!
> 
> Stripping, i.e. compiling with -Xs, made no difference. But, now knowing 
> it should be smaller, I then played with all the compiler options and 
> the one that did make a difference in the size was removing the default 
> "display line numbers in run time error backtrace". With this unchecked 
> the size came down to 1.615Mb.
> 
> Stripping, setting unit style "smart linkable" and "link smart" are all 
> now set but made no difference.
> 
> I then copied the application over to the PDA again. The program load 
> time (i.e. from tapping the icon to the start of drawing the window) was 
> much better, but disappointingly the execution speed was not observably 
> different, i.e. it still took a second to draw the window.
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus

_________________________________________________________________
ConheƧa o Windows Live Spaces, a rede de relacionamentos do Messenger!
http://www.amigosdomessenger.com.br/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20081108/7b1e35b9/attachment-0007.html>


More information about the Lazarus mailing list