Add explanation of the profile feedback build to the README

Also explains that the are additional warnings. Signed-off-by: Andi Kleen <ak@linux.intel.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Andi Kleen committed Jun 20, 2011 at 15:41 UTC 39001007390a699265f16da47474d2b112118931
1 file changed +13
INSTALL
+13
@@ -25,6 +25,19 @@ set up install paths (via config.mak.autogen), so you can write instead
25 $ make all doc ;# as yourself
26 # make install install-doc install-html;# as root
27
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.
41
42 Issues of note:
43