mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-11 08:21:01 -04:00
install: minor tweaks to PGO instructions
This commit is contained in:
parent
c1eaea6f0e
commit
24164101b3
1 changed files with 5 additions and 3 deletions
|
|
@ -134,10 +134,10 @@ mkdir -p bld/release && cd bld/release
|
||||||
|
|
||||||
Below are instructions for building foot either [size
|
Below are instructions for building foot either [size
|
||||||
optimized](#size-optimized), [performance
|
optimized](#size-optimized), [performance
|
||||||
optimized](performance-optimized-non-pgo), or [performance
|
optimized](performance-optimized-non-pgo), or performance
|
||||||
optimized](#performance-optimized-pgo) using PGO.
|
optimized using [PGO](#performance-optimized-pgo).
|
||||||
|
|
||||||
PGO - Profile Guided Optimization - is a way to optimize a program
|
PGO - _Profile Guided Optimization_ - is a way to optimize a program
|
||||||
better than `-O3` can, and is done by compiling foot twice: first to
|
better than `-O3` can, and is done by compiling foot twice: first to
|
||||||
generate an instrumented version which is used to run a payload that
|
generate an instrumented version which is used to run a payload that
|
||||||
exercises the performance critical parts of foot, and then a second
|
exercises the performance critical parts of foot, and then a second
|
||||||
|
|
@ -209,6 +209,8 @@ running the real foot binary. The latter has slightly better results
|
||||||
(i.e. results in a faster binary), but must be run in a Wayland
|
(i.e. results in a faster binary), but must be run in a Wayland
|
||||||
session.
|
session.
|
||||||
|
|
||||||
|
A full PGO build also tends to be smaller than a partial build.
|
||||||
|
|
||||||
|
|
||||||
##### Partial PGO
|
##### Partial PGO
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue