Skip to content

Commit b13be2a

Browse files
committed
pango: Enable PGO for a ~12% improvement
**Benchmarks** 1: File: https://github.com/joebonrichie/benchmarks/blob/master/pango-layout-profile.c Setup: gcc -o pango-layout-profile pango-layout-profile.c -Ofast `pkg-config --cflags --libs gtk+-3.0 Test: hyperfine "./pango-layout-profile" Results: Before - 11.434124s | After - 10.247857s 2: File - https://github.com/joebonrichie/benchmarks/blob/master/pango-benchmark/pango-language-profile.c Setup: gcc -o pango-language-profile pango-language-profile.c -Ofast `pkg-config --cflags --libs gtk+-3.0` Test: hyperfine "./pango-language-profile -l uk" Results: Before - 8.066s | After: 7.066s
1 parent bdd72b4 commit b13be2a

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

packages/p/pango/abi_used_symbols

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ libc.so.6:fwrite
6060
libc.so.6:getenv
6161
libc.so.6:localeconv
6262
libc.so.6:malloc
63+
libc.so.6:memcmp
6364
libc.so.6:memcpy
6465
libc.so.6:memmove
6566
libc.so.6:memset
@@ -579,6 +580,10 @@ libharfbuzz.so.0:hb_shape
579580
libharfbuzz.so.0:hb_tag_to_string
580581
libharfbuzz.so.0:hb_variation_from_string
581582
libm.so.6:atan2
583+
libm.so.6:ceil
584+
libm.so.6:ceilf
582585
libm.so.6:cos
586+
libm.so.6:floor
583587
libm.so.6:sincos
588+
libm.so.6:sqrt
584589
libm.so.6:tan

packages/p/pango/abi_used_symbols32

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ libc.so.6:funlockfile
2626
libc.so.6:getenv
2727
libc.so.6:localeconv
2828
libc.so.6:malloc
29+
libc.so.6:memcmp
2930
libc.so.6:memcpy
3031
libc.so.6:memmove
3132
libc.so.6:memset
@@ -492,7 +493,9 @@ libharfbuzz.so.0:hb_tag_to_string
492493
libharfbuzz.so.0:hb_variation_from_string
493494
libm.so.6:atan2
494495
libm.so.6:ceil
496+
libm.so.6:ceilf
495497
libm.so.6:cos
496498
libm.so.6:floor
497499
libm.so.6:sincos
500+
libm.so.6:sqrt
498501
libm.so.6:tan

packages/p/pango/package.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name : pango
22
version : 1.51.2
3-
release : 57
3+
release : 58
44
source :
55
- https://gitlab.gnome.org/GNOME/pango/-/archive/1.51.2/pango-1.51.2.tar.gz : 82b4c5232e448865865e595008b6aef2481032c898d8bbfc60fd36b680585d75
66
homepage : http://www.pango.org
@@ -36,7 +36,9 @@ setup : |
3636
%meson_configure -Dgtk_doc=false -Dintrospection=$build_gobject
3737
build : |
3838
%ninja_build
39+
profile : |
40+
%ninja_check || :
3941
install : |
4042
%ninja_install
4143
check : |
42-
%ninja check || :
44+
%ninja_check || :

packages/p/pango/pspec_x86_64.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</Description>
5353
<PartOf>emul32</PartOf>
5454
<RuntimeDependencies>
55-
<Dependency release="57">pango</Dependency>
55+
<Dependency release="58">pango</Dependency>
5656
</RuntimeDependencies>
5757
<Files>
5858
<Path fileType="library">/usr/lib32/libpango-1.0.so.0</Path>
@@ -72,8 +72,8 @@
7272
</Description>
7373
<PartOf>programming.devel</PartOf>
7474
<RuntimeDependencies>
75-
<Dependency release="57">pango-32bit</Dependency>
76-
<Dependency release="57">pango-devel</Dependency>
75+
<Dependency release="58">pango-32bit</Dependency>
76+
<Dependency release="58">pango-devel</Dependency>
7777
</RuntimeDependencies>
7878
<Files>
7979
<Path fileType="library">/usr/lib32/libpango-1.0.so</Path>
@@ -95,7 +95,7 @@
9595
</Description>
9696
<PartOf>programming.devel</PartOf>
9797
<RuntimeDependencies>
98-
<Dependency release="57">pango</Dependency>
98+
<Dependency release="58">pango</Dependency>
9999
</RuntimeDependencies>
100100
<Files>
101101
<Path fileType="header">/usr/include/pango-1.0/pango/pango-attributes.h</Path>
@@ -149,8 +149,8 @@
149149
</Files>
150150
</Package>
151151
<History>
152-
<Update release="57">
153-
<Date>2024-02-13</Date>
152+
<Update release="58">
153+
<Date>2024-03-25</Date>
154154
<Version>1.51.2</Version>
155155
<Comment>Packaging update</Comment>
156156
<Name>Joey Riches</Name>

0 commit comments

Comments
 (0)