git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Add explanation of the profile feedback build to the README
@ 2011-06-20 22:41 Andi Kleen
  0 siblings, 0 replies; only message in thread
From: Andi Kleen @ 2011-06-20 22:41 UTC (permalink / raw)
  To: git; +Cc: Andi Kleen

From: Andi Kleen <ak@linux.intel.com>

Also explains that the are additional warnings.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
---
 INSTALL |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/INSTALL b/INSTALL
index 16e45f1..bbb9d4d 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:
 
-- 
1.7.4.4

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-06-20 22:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 22:41 [PATCH] Add explanation of the profile feedback build to the README Andi Kleen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).