> Are you benchmarking a 32-bit build? How unfashionable of you :)

The system-provided version is 32-bit (not sure why??). After properly
linking I have a 64-bit build, and FT_DivFix does not seem to be a
problem any more :-)

> https://savannah.nongnu.org/bugs/?43248

> Now I have that the glyphpath procedures take a bulk of the time.
> What's interesting is the hinting functions get called from these,
> regardless of the load flags, and probably explains why it's roughly
> the same hinted or not. This seems wrong IMO, as we should be ignoring
> hints accordingly, but the call graph shows `cf2_hintmap_build',
> `cf2_hintmap_insertHint', and the like being used, which account for a
> sizeable chunk of time.
>
> I will investigate this further. Probably the `hinted' flag is being
> ignored somehow.

Some success here.

Disabling hinting stuff properly when hinting is off gave a speed
boost of about a third. Still not as much an improvement as turning
off hinting in the old engine.

Here is my data from testing:
FT_Load_Glyph:`adobe' (units: us/op)
flags  time
0x0    7.844
0x1    5.212
0x2    5.079

I've pushed the code changes to `ewaldhew-wip'. Please check.

Ewald

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to