[Bug 51367] Major dwrite:analyzer, dwrite:layout and dwrite:font slowdown when adding fonts

WineHQ Bugzilla wine-bugs at winehq.org
Wed Jun 30 12:50:08 CDT 2021


https://bugs.winehq.org/show_bug.cgi?id=51367

François Gouget <fgouget at codeweavers.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |source, testcase
            Summary|Major dwrite:analyzer,      |Major dwrite:analyzer,
                   |dwrite:layout and           |dwrite:layout and
                   |dwrite:font slowdown when   |dwrite:font slowdown when
                   |adding (CJK) fonts          |adding fonts

--- Comment #1 from François Gouget <fgouget at codeweavers.com> ---
Maybe installing all these font packages is a bit much so I tried to identify
which font packages are causing the biggest run time increase:

 2.5s        Base set of fonts.
 3.1s  +0.6s +fonts-not-cjk  (fonts-noto recommends)
              -> sufficient to fix the menus in Notepad
 3.6s  +0.5s +fonts-noto-cjk-extra (fonts-noto recommends)
11.3s  +7.7s +fonts-noto-core (fonts-noto depends)
54.9s +43.6s +fonts-noto-extra (fonts-noto recommends)
59.7s  +4.8s +fonts-noto-ui-core (fonts-noto recommends)
76.3s +16.6s +fonts-noto-ui-extra (fonts-noto recommends)
76.3s  +0.0s +fonts-noto-mono (fonts-noto recommends)
78.0s  +1.7s +fonts-noto-unhinted (fonts-noto recommends)

 2.5s        Base set of fonts.
 3.0s  +0.5s +fonts-lohit-{beng-bengali,deva,gujr,guru,knda,mlym,taml,telu}
 3.3s  +0.3s +fonts-nanum
 9.4s  +6.1s
+fonts-{bpg-georgian,dzongkha,farsiweb,kacst,khmeros,sil-abyssinica,sil-andika,symbola,ukij-uyghur,unikurdweb,vlgothic}
 9.7s  +0.3s +fonts-ipafont

So fonts-noto-extra and fonts-noto-ui-extra are the most troublesome font
packages. Removing them would reduce the run time to about 20 seconds on my box
or a 4x speedup (so about 30 s on debiant2). They could conceivably be
blacklisted by wt-install-dev.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list