Re: Performance issue of libtool-2.4.4

Robert Yang <[email protected]>
Newsgroups gmane.comp.gnu.libtool.general
Message-ID <[email protected]>
Hello,

After removing the two lines, libtool 2.4.5 is a little slower than 2.4.2
when using /bin/dash, but it is much slower than in bash, here is the
data when compile xz: (make -j1)

       lt-2.4.2  lt-2.4.5(before patched)  lt-2.4.5(after patched)
dash     11s          21s                    13s
bash     13s          30s                    21s


We can see that dash is much faster than bash. (note, the data I had reported
before for lt-2.4.5 after patched is 11s, but today is 13s, I think that
it is because of the free disk space, the data is very stable in each day,
I tried them several times).

// Robert

On 02/04/2015 10:56 PM, Robert Yang wrote:
>
>
> On 02/04/2015 10:48 PM, Bob Friesenhahn wrote:
>> On Wed, 4 Feb 2015, Robert Yang wrote:
>>
>>> When reporting a bug, please describe a test case to reproduce it and
>>> include the following information:
>>>
>>>       host-triplet:   $host
>>>       shell:          $SHELL
>>>       compiler:       $LTCC
>>>       compiler flags: $LTCFLAGS
>>>       linker:         $LD (gnu? $with_gnu_ld)
>>>       version:        $progname (GNU libtool) 2.4.5
>>>       automake:       `($AUTOMAKE --version) 2>/dev/null |$SED 1q`
>>>       autoconf:       `($AUTOCONF --version) 2>/dev/null |$SED 1q`
>>
>> Perhaps libtool is accidentially executing 'automake --version' and 'autoconf
>> --version' every time it is executed?  That would certainly lead to a huge
>> slowdown.
>
> Thanks, yes, you are right, after remove the two lines, the time is the
> same as remove the whole block (11s).
>
> // Robert
>
>>
>> Bob
>
> _______________________________________________
> https://lists.gnu.org/mailman/listinfo/libtool
>
>

_______________________________________________
https://lists.gnu.org/mailman/listinfo/libtool
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.