Re: Poor push performance with large number of refs
- From
brian m. carlson <sandals@crustytoothpaste.net>
- Date
- Dec 11, 2014, 03:09 UTC
- Message-ID
- <20141211030948.GA137226@vauxhall.crustytoothpaste.net>
- In-Reply-To
- <CACsJy8DxXdLsdgP7OKmv8bS1WVPSO_goBaNrttAqd0-ASBgbpQ@mail.gmail.com>
On Thu, Dec 11, 2014 at 08:41:07AM +0700, Duy Nguyen wrote:
Show 6 quoted lines
> It could be a regression by fbd4a70 (list-objects: mark more commits > as edges in mark_edges_uninteresting - 2013-08-16). That commit makes > --thin a lot more agressive (reading lots of trees). You can try to > revert that commit (or use a git version without that commit) and see > if it improves performance. If so, we probably want to enable that > code for shallow repos only.
That's exactly it. With Git 2.2.0, --no-thin was 2.295s, --thin was 8.769s, and --thin with the patch reverted was 3.645s.
I'll come up with a patch. Thanks for the suggestion.
-- brian m. carlson / brian with sandals: Houston, Texas, US +1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187