Re: [PATCH 8/8] perf: add tests for tag --contains

2014-06-25 Thread Jeff King
On Wed, Jun 25, 2014 at 08:01:29PM -0400, Jeff King wrote: > I get: > > Test ffc4b80^ origin/master > HEAD > > > 7000.3:

Re: [PATCH 8/8] perf: add tests for tag --contains

2014-06-25 Thread Jeff King
On Wed, Jun 25, 2014 at 07:53:35PM -0400, Jeff King wrote: > There are still two things about the timings that puzzle me a bit. This certainly isn't helping: > +test_expect_success 'find reference points' ' > + recent=$(git rev-parse HEAD~100) && > + old=$(git rev-parse HEAD~5000) && >

[PATCH 8/8] perf: add tests for tag --contains

2014-06-25 Thread Jeff King
These tests can demonstrate the changes in "tag --contains" speed over time. The interesting points in history are: - pre-ffc4b80, where we used a series of N merge-base traversals - ffc4b80 up to the current master, where we moved to a single depth-first traversal - the previous c