Re: fontconfig: Branch 'master' - 2 commits

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

 



On 02/27/15 07:57, Akira TAGOH wrote:
[...]
diff --git a/fc-blanks/fc-blanks.py b/fc-blanks/fc-blanks.py
[...]
+fp = urllib2.urlopen('http://unicode.org/cldr/utility/list-unicodeset.jsp?a=[%3AGC%3DZs%3A][%3ADI%3A]&abb=on&ucd=on&esc=on&g')

4191 codepoints?

Before it was more like 60...

'fc-cache -f' now spends 100x more time in FcBlanksIsMember, which makes for several seconds difference on some of my boxes. In the profiler:

---8<---------------------------------------------

sun3:fontconfig)collect fc-cache -f
Creating experiment database test.2.er ...
sun3:fontconfig)er_print -calltree test.2.er
Functions Call Tree. Metric: Attributed User CPU Time

Attr.      Name
User CPU
  sec.
19.604     +-<Total>
[...]
 0.030           |  |  |      |  |  |  |  |  |    |  +-FcBlanksIsMember
[...]
 0.040           |  |    |  |  |  |  |  |    |  +-FcBlanksIsMember

---8<---------------------------------------------

as opposed to:

---8<---------------------------------------------

sun3:fontconfig)collect fc-cache -f
Creating experiment database test.1.er ...
sun3:fontconfig)er_print -calltree test.1.er
Functions Call Tree. Metric: Attributed User CPU Time

Attr.      Name
User CPU
  sec.
26.939     +-<Total>
[...]
 3.683           |  |  |  |    |  |  |  |  |  |    |  +-FcBlanksIsMember
[...]
 4.073           |  |    |  |  |  |  |  |    |  +-FcBlanksIsMember

---8<---------------------------------------------





--
Worringer Str 31 Duesseldorf 40211 DE  home: <rs@xxxxxxxx>
+49-179-2981632 icq 16845346           work: <rs@xxxxxxxxxxxxxxx>
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig





[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux