Mike FABIAN
2005-Nov-21 08:51 UTC
[Fontconfig] Re: performance regression: fc-cache became slow when skipping
Patrick Lam <plam@MIT.EDU> ????????:> Mike FABIAN wrote: >> I.e. the second run of fc-cache in the ~/.fonts directory not even >> twice as fast as the first run. > > I''ve committed a patch which uses directory cache files in fc-cache, if > -f was not specified, like 2.3.2 did. I think this fixes your issue.Thank you, this seems to fix the problem, it is about as fast as it used to be now when -f is not specified. Updated fontconfig packages including that patch for SuSE Linux 10.0 are available at ftp://ftp.suse.com/pub/projects/m17n -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????
Patrick Lam
2005-Nov-21 08:51 UTC
[Fontconfig] performance regression: fc-cache became slow when skipping
Mike FABIAN wrote:> I.e. the second run of fc-cache in the ~/.fonts directory not even > twice as fast as the first run.I''ve committed a patch which uses directory cache files in fc-cache, if -f was not specified, like 2.3.2 did. I think this fixes your issue. pat
Mike FABIAN
2005-Nov-21 08:51 UTC
[Fontconfig] patch: add sentinel valist markup for 2 functions
I''d like to submit a patch by Marcus Meissner <meissner@suse.de> (CC:), which is applied to the SuSE fontconfig package for upstream inclusion. It is attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: fontconfig-sentinel.patch Type: text/x-patch Size: 1057 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20051012/c7ad1b34/fontconfig-sentinel.bin -------------- next part -------------- -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????
Mike FABIAN
2005-Nov-21 08:51 UTC
[Fontconfig] performance regression: fc-cache became slow when skipping
With the new fontconfig 2.3.91 (CVS snapshot from 20051007): mfabian@magellan:~/.fonts$ fc-cache -V fontconfig version 2.3.91 mfabian@magellan:~/.fonts$ time fc-cache -f -v . fc-cache: ".": caching, 71 fonts, 1 dirs fc-cache: "./kde-override": caching, 0 fonts, 0 dirs fc-cache: succeeded real 0m24.659s user 0m10.693s sys 0m0.172s mfabian@magellan:~/.fonts$ time fc-cache -v . fc-cache: ".": skipping, 71 fonts, 1 dirs fc-cache: "./kde-override": skipping, 0 fonts, 0 dirs fc-cache: succeeded real 0m14.288s user 0m10.585s sys 0m0.096s mfabian@magellan:~/.fonts$ I.e. the second run of fc-cache in the ~/.fonts directory not even twice as fast as the first run. If all cache files are already up to date, fc-cache should run very fast, but with the new version of fontconfig it is always very slow. This was much better with older versions of fontconfig which didn''t yet have the mmap feature: mfabian@rossini:~/.fonts$ fc-cache -V fontconfig version 2.3.2 mfabian@rossini:~/.fonts$ time fc-cache -f -v . fc-cache: ".": caching, 71 fonts, 1 dirs fc-cache: "./kde-override": caching, 0 fonts, 0 dirs fc-cache: succeeded real 0m12.328s user 0m10.133s sys 0m0.104s mfabian@rossini:~/.fonts$ time fc-cache -v . fc-cache: ".": skipping, 71 fonts, 1 dirs fc-cache: "./kde-override": caching, 0 fonts, 0 dirs fc-cache: succeeded real 0m2.023s user 0m0.016s sys 0m0.000s mfabian@rossini:~/.fonts$ I.e. the second run is much faster here. -- Mike FABIAN <mfabian@suse.de> http://www.suse.de/~mfabian ?????????????
Patrick Lam
2005-Nov-21 08:51 UTC
[Fontconfig] patch: add sentinel valist markup for 2 functions
Mike FABIAN wrote:> I''d like to submit a patch by Marcus Meissner <meissner@suse.de> > (CC:), which is applied to the SuSE fontconfig package for upstream > inclusion. > > It is attached.Committed. pat