Noted slowness in profile loading with binutils 2.37

H.J. Lu hjl.tools@gmail.com
Tue Feb 8 17:57:50 GMT 2022


On Tue, Feb 8, 2022 at 9:45 AM Alexander Lindsay via Binutils
<binutils@sourceware.org> wrote:
>
> Hi all,
>
> I recently experienced a slow-down in profile loading by the tool pprof,
> and I believe I've boiled it down to changing from previous versions of
> binutils to binutils version 2.37. Timings of profile loading are
> documented on the pprof ticket I originally opened here:
> https://github.com/google/pprof/issues/680#issuecomment-1032174210. I
> reproduce them below:
>
> - binutils version 2.29.1: 1.1 seconds
> - binutils version 2.33.1: 1.1 seconds
> - binutils version 2.35.2: 6.8 seconds
> - binutils version 2.36.1: 6.5 seconds
> - binutils version 2.37: Still not loaded at 6 minutes
>
> I think the relevant binutil tool here is addr2line. Does anyone have a
> quick idea for what may have caused the slow-down? I was thinking about
> doing a git bisect, but I figured it is probably way more efficient to
> contact the experts!
>

This may be related to:

https://sourceware.org/bugzilla/show_bug.cgi?id=28843

-- 
H.J.


More information about the Binutils mailing list