Re: Speed suggestions (previously about laptop performace)



Michael Meeks <michael ximian com> writes:

> Hi Owen,
> 
> On Mon, 2002-08-05 at 14:36, Owen Taylor wrote:
> > in gtk+/configure.in to remove the optin and then recompile GTK+,
> > I think things will be a lot better.
> 
> 	Thanks, that works a lot better - sadly the top N functions on that
> basis are:
> 
> 	TT_load_SNFT_Header   2178
> 	g_main_context_poll   1755 [ amazing idle time in there ]
> 	pango_x_font_cache_load 558
> 	FT_New_Stream           348
> 	_gdk_x11_copy_to_image  141
> 	g_file_test             114
> 	gdk_pixbuf_new_from_file 84
> 	gdk_draw_rgb_image_core  57
> 	gdk_flush                57
> 	FAMOpen2                 48
> 	MiniXftFileCachReadDir   48
> 
> 	etc. which rather re-inforces my feeling that font loading is the
> pre-eminent slow down, accounting for the majority of startup time -
> then again, my profiler is a pretty blunt tool; no fontconfig,
> freetype-2.0.9 etc. etc. I suppose it's only really worth looking at
> this again with fontconfig builds.

Yeah, I think if fontconfig is in place, most of the font stuff in the
profile above should drop away. (BTW, with current CVS, GTK+ + Xft2
should work for antialiased fonts without RENDER.)

Regards,
                                        Owen



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