Re: [PATCH v3 20/21] t/perf: add tests for pack bitmaps

2013-12-21 Thread Jeff King
On Sat, Dec 07, 2013 at 05:51:43PM +0100, Thomas Rast wrote: Jeff King p...@peff.net writes: +test_perf 'simulated fetch' ' + have=$(git rev-list HEAD --until=1.week.ago -1) This will give you HEAD if your GIT_PERF_LARGE_REPO hasn't seen any activity lately. I'd prefer something

Re: [PATCH v3 20/21] t/perf: add tests for pack bitmaps

2013-12-07 Thread Thomas Rast
Jeff King p...@peff.net writes: +test_perf 'simulated fetch' ' + have=$(git rev-list HEAD --until=1.week.ago -1) This will give you HEAD if your GIT_PERF_LARGE_REPO hasn't seen any activity lately. I'd prefer something that always takes a fixed commit, e.g. HEAD~1000, keeping the perf

[PATCH v3 20/21] t/perf: add tests for pack bitmaps

2013-11-14 Thread Jeff King
This adds a few basic perf tests for the pack bitmap code to show off its improvements. The tests are: 1. How long does it take to do a repack (it gets slower with bitmaps, since we have to do extra work)? 2. How long does it take to do a clone (it gets faster with bitmaps)? 3.