[Gtk-sharp-list] Increesing glade-sharp speed
Thu, 16 Oct 2003 19:44:16 -0500
Ok, the output of mono --profile mBloggy.exe prints this methods and the
memory used by each one:
292 KB Glade.XML::.ctor(Assembly,string,string,string)
220 KB System.Collections.ArrayList::.ctor()
99 KB System.Array::CreateInstance(Type,int)
66 KB System.Xml.XmlConstructs::.cctor()
Total memory allocated: 1163 KB
I know it maybe sounds stupid to think in decreasing that use of memory
(for example, to use less than 1000 KB). But, the Glade.XML it's using
292 KB, is it normal to use that memory just for loading the file?
El jue, 16-10-2003 a las 14:16, Miguel de Icaza escribi=F3:
> > Well, I have a question. I created my interface with Glade and Im
> > loading it in my app (using it as a resource), however Im testing the
> > speed and time that the application takes to start (it takes 6 seconds)=
> > So..
> > 1. One reason that my application is taking 6 seconds (for me its too
> > much) could be the use of a complete Glade Intercae?
> That is highly unusual. If you have various dialogs, you could try
> splitting it up in various glade files.
> It would be useful also to study the output of:
> mono --profile app.exe
> > 2. And as question 1, it depends of how big is my file.glade? or doesn'=
> > matters.
> It shouldnt really.
Pablo Fischer Sandoval (pablo [arroba/at] pablo.com.mx)
GPG FingerTip: 3D49 4CB8 8951 F2CA 8131 AF7C D1B9 1FB9 6B11 810C
Firma URL: http://www.pablo.com.mx/firmagpg.txt