Re: [RFC/PATCH] t/perf: "make clean" from the top-level to clean results
- From
Jeff King <peff@peff.net>
- Date
- Mar 28, 2016, 20:20 UTC
- Message-ID
- <20160328202042.GA23792@sigill.intra.peff.net>
- In-Reply-To
- <xmqqfuvaxsr1.fsf@gitster.mtv.corp.google.com>
On Mon, Mar 28, 2016 at 01:16:50PM -0700, Junio C Hamano wrote:
Show 10 quoted lines
> Running "make clean" from the top-level after running perf tests > left t/perf/test-results/ directory and tons of files in it. At > least "make distclean" should turn things back to pristine state. > > Signed-off-by: Junio C Hamano <gitster@pobox.com> > --- > > * Perhaps I am missing some reason why this was deliberately left > out when we added t/perf/Makefile that does have the clean > target? Cc'ing the suspects found by "shortlog t/perf".
I don't think I've ever touched the "clean" code path.
This change is fine by me. I have noticed that the contents of t/perf/build can pile up and consume quite a lot of space, as they are all full builds of git. They're a little more expensive to reproduce than some other things, but they're inherently still a cache. I think your patch is doing the right thing.
-Peff