Re: memory allocations.



On 1 Mar 2002, Havoc Pennington wrote:

> 
> Sander Vesik <sv117949 ireland sun com> writes: 
> > Well, as I see it the problem with optimising malloc for startup times is
> > that according to my profiling, at most 1% time of total is spent in
> > malloc during startup of say gedit, while in real use - I opened a 300KB+
> > text file and page-downed to the end - the use grew to 3% of time. 
> >
> 
> If this is gedit2 could you post the top of the profile? (Does it have
> call graph info?)
>  

The tools has a rather useless command line interface (for which I'm
trying to get some perl in place) and a rather nice graphical one - which
as usual, gives you the information it thinks you need.

the malloc callers toplist is:
	g_malloc
	calloc
	XCreateGC
	xmlStrndup
	XListPixmapFonts
	_XEnq
	xmlParseAttValue

>
> Havoc
> 

	Sander

	I see a dark sail on the horizon
	Set under a dark cloud that hides the sun
	Bring me my Broadsword and clear understanding


_______________________________________________
gnome-hackers mailing list
gnome-hackers gnome org
http://mail.gnome.org/mailman/listinfo/gnome-hackers



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]