summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Andi Kleen <ak@linux.intel.com>2011-06-20 15:41:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-20 16:31:44 -0700
commit39001007390a699265f16da47474d2b112118931 (patch)
tree8cd0d0e19d6bf2dd156e1f2aa69fea8eebf034e8
parentAdd profile feedback build to git (diff)
downloadtgif-39001007390a699265f16da47474d2b112118931.tar.xz
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>
-rw-r--r--INSTALL13
1 files changed, 13 insertions, 0 deletions
diff --git a/INSTALL b/INSTALL
index 16e45f114f..bbb9d4dc9a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -25,6 +25,19 @@ set up install paths (via config.mak.autogen), so you can write instead
$ make all doc ;# as yourself
# make install install-doc install-html;# as root
+If you're willing to trade off (much) longer build time for a later
+faster git you can also do a profile feedback build with
+
+ $ make profile-all
+ # make prefix=... install
+
+This will run the complete test suite as training workload and then
+rebuild git with the generated profile feedback. This results in a git
+which is a few percent faster on CPU intensive workloads. This
+may be a good tradeoff for distribution packagers.
+
+Note that the profile feedback build stage currently generates
+a lot of additional compiler warnings.
Issues of note: