[Buildroot] [RFC PATCH 2/9] support/scripts: add fix-rpath script to sanitize the rpath
Arnout Vandecappelle
arnout at mind.be
Mon Mar 13 17:08:28 UTC 2017
On 12-03-17 22:10, Wolfgang Grandegger wrote:
> Am 12.03.2017 um 21:53 schrieb Arnout Vandecappelle:
>>
>>
[snip]
>> You mean 19 seconds for the C program vs 22 seconds for cmp? That's what I
>> would expect indeed because cmp basically does the same. In my measurements,
>> readelf still was significantly slower - I didn't write down the numbers but
>> from memory it was like 25%.
>
> No, 19 sec for the C program just checking the first 4 bytes. 22 with patchelf.
> And with readelf I think it was close to 19 sec as well. I will doublecheck,
> though.
I think I had a bigger difference, but anyway even 20% isn't really worth it,
probably.
>
>>
>>> patchelf is
>>> written in C++... maybe that's the reason why it's slower.
>>
>> Well, it's rather because patchelf reads the entire file into a std::vector,
>> while readelf will just seek to the bits that are requested.
>>
>>
>>
>> By the way, did you already post your patches to the patchelf list?
>
> I'm currently preparing a new patch series. I did not find a mailing list for
> the patchelf project. Maybe I have to use the GIT hub interface.
Yes, github pull request is the way to go.
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286500
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7493 020B C7E3 8618 8DEC 222C 82EB F404 F9AC 0DDF
More information about the buildroot
mailing list