Re: [PATCH v2 1/3] autoconf: prefer an unrolled loop for trivial AC_CHECK_FUNCS

Paolo Bonzini <[email protected]>
Newsgroups gmane.comp.sysutils.autoconf.patches
Message-ID <CAHFMJ7sp=nLYPWP=WQvVJ8Cyh3eCt7MW+JV_o=w1xD62O+zeZA@mail.gmail.com>
Il 02/nov/2016 22:27, "Eric Blake" <[email protected]> ha scritto:
> I tested this with coreutils.  Timing wise, on my system, I was able to
> consistently see a reduction of './config.status --recheck' execution
> time from around 34.3s pre-patch, to around 33.9s post-patch; a little
> better than 1%.  That's not huge, but big enough that I can say it is a
> real improvement and not just measurement noise.

This makes sense, since I got 3% from the while series of three. Your
measurements still have the cat(1) fork for AC_DEFINE_UNQUOTED, for example.

Paolo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.