Re: [PATCH 0/9] send-email: various optimizations to speed up by >2x
- From
Elijah Newren <newren@gmail.com>
- Date
- May 27, 2021, 07:21 UTC
- Message-ID
- <CABPp-BEtef+EzZTAQYutU67V4-=EiXHBH7wLm1ZEE5N+_NA5Yw@mail.gmail.com>
- In-Reply-To
- <cover-0.9-0000000000-20210512T132955Z-avarab@gmail.com>
Hi,
On Wed, May 12, 2021 at 6:50 AM Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 7 quoted lines
> As noted in the subject this speeds up git-send-email invocations by > ~2x or more, and brings the very slow t9001 test from running in ~26s > on my box to ~12s. It's no longer consistently the slowest test I run. > > This is basically done in two ways: We lazily invoke "git config" to > get config, before it's very eager, and deferring Perl compilation > with s/use/require/g.
I know I'm very late to the party, but I just wanted to comment that this is super cool. Thanks for speeding this up; some really good finds here.