Subject: Re: bug#15876: 24.3.50; Highly degraded performance between rev 114715 and 115006

From: Dmitry Antipov <[email-masked]>
Date: Wed, 11 Dec 2013 22:00:48 +0400

On 12/11/2013 08:28 PM, Eli Zaretskii wrote:

> Right, this matches my observations.  Did you succeed in finding which
> function in this call sequence is the performance bottleneck?

Usually this is font_driver->list (xfont_list, w32font_list, etc), which
can create a lot of font-entity objects.

> Anyway, what about the patch below?  With it, the problem disappears
> even without your "threshold" based GC.

Looks good. But can we assume that FACE_FROM_ID (...) is always non-NULL?
Some important routines, like mark_face_cache, do not rely on this.

Dmitry