Re: What's cooking in git.git (Feb 2011, #05; Wed, 23)
- From
Jonathan Nieder <jrnieder@gmail.com>
- Date
- Feb 24, 2011, 22:39 UTC
- Message-ID
- <20110224223952.GA22524@elie>
- In-Reply-To
- <AANLkTike1qDGJ-mLsSRYpBk59_evk9x5oFeGt5RSUg3d@mail.gmail.com>
Ævar Arnfjörð Bjarmason wrote:
> IIRC last time this was discussed I asked whether the size of the > binary mattered for execution startup time (i.e. more so than on > Unix). We're only invoking printf(1) and git-sh-i18n--envsubst, both > of which only are (or only need to be) linked to libc.
printf is usually built in to the shell. I think if we're very careful about quoting shell metacharacters then we can get by using eval in place of envsubst. See the message that
http://thread.gmane.org/gmane.comp.version-control.git/160396
is a reply to (which does not seem to have hit the ml; sorry about that).
I hope preprocessing away the "eval" is not needed. :)
> It would also be interesting to have some real world benchmarks on > Windows with and without this series, maybe it won't be so bad.
Yes, e.g. timing from running the rebase tests in the testsuite might be interesting.