qt5base-lts/src
Andreas Hartmetz eea99e1e8f Fontconfig font database: Short-circuit matching by filename
If the filename matches, no other matching is necessary. Fontconfig
doesn't have a fast path for that, so implement one here.
Fontconfig is unlikely to add that fast path, see here:
https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/103

With -O1 builds of Qt and KDE stack, 358 fonts installed according
to KDE systemsetting, on a Ryzen 1800X, startup time of kwrite
decreases as following according to perf stat:
msec task-clock: ~480 ms to ~455 ms
cycles: ~1.73e9 to ~1.65e9

Change-Id: I630a80e4bed2647d5bbd95247005aab7d0cb0363
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
2019-07-06 19:55:02 +02:00
..
3rdparty Merge remote-tracking branch 'origin/5.13' into dev 2019-07-01 10:21:37 +02:00
android Merge remote-tracking branch 'origin/5.13' into dev 2019-07-01 10:21:37 +02:00
angle Merge remote-tracking branch 'origin/5.12' into 5.13 2019-06-28 01:00:23 +02:00
concurrent Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
corelib Port some trivial cases from QMutex to QRecursiveMutex 2019-07-06 11:22:37 +02:00
dbus Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
gui QtGui: port from QMutex::Recursive to QRecursiveMutex 2019-07-06 17:14:31 +02:00
network QtNetwork: port remaining uses of QMutex::Recursive to QRecursiveMutex 2019-07-06 17:14:35 +02:00
opengl Port some trivial cases from QMutex to QRecursiveMutex 2019-07-06 11:22:37 +02:00
openglextensions Move forward-declaration inside of namespace 2019-05-15 10:58:49 +00:00
platformheaders Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
platformsupport Fontconfig font database: Short-circuit matching by filename 2019-07-06 19:55:02 +02:00
plugins Port some trivial cases from QMutex to QRecursiveMutex 2019-07-06 11:22:37 +02:00
printsupport Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
sql Fix build without feature.stringlistmodel 2019-06-30 17:16:52 +09:00
testlib Fix build without features.itemmodel 2019-07-06 17:54:13 +09:00
tools Fix 'make check' for android-mingw32 2019-07-03 09:25:46 +02:00
widgets Fix build without features.mimetype 2019-07-06 17:41:02 +09:00
winmain Merge remote-tracking branch 'origin/5.13' into dev 2019-05-27 15:34:10 +02:00
xml Merge remote-tracking branch 'origin/5.13' into dev 2019-06-27 14:38:03 +02:00
src.pro Fix build without feature.xmlstreamreader 2019-07-05 16:11:28 +09:00