freetype
[Top][All Lists]
Advanced

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

Re: FT Performance Regression?


From: Werner LEMBERG
Subject: Re: FT Performance Regression?
Date: Sat, 02 Nov 2019 09:31:08 +0100 (CET)

>> Thanks, do you know how much difference the span batching made to
>> performance?
> 
> In depends on your program.  Simple scanlines might be delivered at
> once.  Freetype won't wait for you to process each spam.

Jamie, could you suggest a documentation enhancement to cover the
difficulty you've experienced?

>> It's also been pointed out to me that setjmp/longjmp can be very
>> slow (eg, 12ms of a 36ms call was spent in setjmp). Are there any
>> plans to remove FTs dependence on these functions?
> 
> This is definitely not a bottle neck, unless the font is crazy
> complicated <https://fonts.google.com/specimen/Cabin+Sketch>.  If
> you are paranoid, you can increase FT_RENDER_POOL_SIZE
> <http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freetype/config/ftoption.h#n398>.

This is probably also worth to be mentioned in the docs.


    Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]