freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] gray_render_scanline: very hot when fuzzing


From: Kostya Serebryany
Subject: Re: [ft-devel] gray_render_scanline: very hot when fuzzing
Date: Tue, 6 Oct 2015 20:43:54 -0700



On Tue, Oct 6, 2015 at 7:59 PM, Alexei Podtelezhnikov <address@hidden> wrote:
On Tue, Oct 6, 2015 at 9:42 PM, Kostya Serebryany <address@hidden> wrote:
>  51.76%  repro_orig  repro_orig              [.] gray_render_scanline

That's been FreeType workhorse since 2.0. You gotta draw those glyphs
on a bitmap. It is funny you should mention how expensive divisions
there, because I've just committed a faster alternative with reduces
the number of divisions to a bare minimum.

He-hey, what a timing indeed. 
Pulling fresh trunk reduced time to run the whole corpus from 160 seconds to 71. 
 
I bet all gray_functions
will remain on top with perhaps 50% combined. Please let me know how
much exactly. Anyhow, there is not much left to do or fuzz after
rendering, so do not render

If you think that fuzzing the rendering is not that interesting, I just won't.
It further reduces the time from 71 seconds to 4!  
 
or short-cut it in the fuzzer.


reply via email to

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