From 24164101b3c847602a68888b65b30957854ea457 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Sun, 22 Nov 2020 19:07:50 +0100 Subject: [PATCH] install: minor tweaks to PGO instructions --- INSTALL.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index 3dae2959..189ae192 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -134,10 +134,10 @@ mkdir -p bld/release && cd bld/release Below are instructions for building foot either [size optimized](#size-optimized), [performance -optimized](performance-optimized-non-pgo), or [performance -optimized](#performance-optimized-pgo) using PGO. +optimized](performance-optimized-non-pgo), or performance +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 generate an instrumented version which is used to run a payload that 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 session. +A full PGO build also tends to be smaller than a partial build. + ##### Partial PGO