diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2020-05-25 19:21:49 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2020-05-25 19:21:49 +0000 |
| commit | 2541060ae473bfb33b7b8c4bf49f4ad339634b44 (patch) | |
| tree | 4b2f33d1ab93bd7a817d45272382a5bdd199aa7f | |
| parent | meson: don't set -Wno-missing-profile (diff) | |
readme: document work around for GCC 10.1 O2+PGO regression
| -rw-r--r-- | README.md | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -317,8 +317,11 @@ A note on compilers; in general, foot runs **much** faster when compiled with gcc instead of clang. A profile-guided gcc build can be more than twice as fast as a clang build. -**Note** GCC 10.1 has a performance regression that affects foot. A -PGO build is about 30-40% slower with GCC 10.1 compared to GCC 9.3. +**Note** GCC 10.1 has a performance regression that severely affects +foot when doing PGO builds and building with `-O2`; it is about 30-40% +slower compared to GCC 9.3. + +The work around is simple: make sure you build with `-O3`. ## Installing |
