Re: gdmgreeter CPU usage
- From: Matthias Clasen <matthias clasen gmail com>
- To: Padraig O'Briain <Padraig Obriain sun com>
- Cc: performance-list gnome org
- Subject: Re: gdmgreeter CPU usage
- Date: Tue, 10 Jan 2006 11:02:59 -0500
On 1/10/06, Padraig O'Briain <Padraig Obriain sun com> wrote:
> I have dug deeper and found that indeed FcFontSort seems to be the
> culprit. This function is called twice for each call to
> pango_layout_line_get_extents and each call costs about 17 ms.
I only see the two FcFontSort() calls on the very first invokation of
pango_layout_line_get_extents(). Later calls use the cached fontsets.
The two invokations are because we are first calling
pango_font_map_load_fontset() for "Sans 10" and then later call
it again for "Bitstream Vera Sans 9.9990234375". The second one
looks slightly wrong to me, it should probably be "Sans 10" again...
Matthias
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]