Skip to content

Commit

Permalink
Add explanation of the profile feedback build to the README
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andi Kleen authored and gitster committed Jun 20, 2011
1 parent 7ddc271 commit 3900100
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions INSTALL
Expand Up @@ -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:

Expand Down

0 comments on commit 3900100

Please sign in to comment.