Skip to content

Commit 3900100

Browse files
Andi Kleengitster
authored andcommitted
Add explanation of the profile feedback build to the README
Also explains that the are additional warnings. Signed-off-by: Andi Kleen <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 7ddc271 commit 3900100

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

INSTALL

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,19 @@ set up install paths (via config.mak.autogen), so you can write instead
2525
$ make all doc ;# as yourself
2626
# make install install-doc install-html;# as root
2727

28+
If you're willing to trade off (much) longer build time for a later
29+
faster git you can also do a profile feedback build with
30+
31+
$ make profile-all
32+
# make prefix=... install
33+
34+
This will run the complete test suite as training workload and then
35+
rebuild git with the generated profile feedback. This results in a git
36+
which is a few percent faster on CPU intensive workloads. This
37+
may be a good tradeoff for distribution packagers.
38+
39+
Note that the profile feedback build stage currently generates
40+
a lot of additional compiler warnings.
2841

2942
Issues of note:
3043

0 commit comments

Comments
 (0)