Noted slowness in profile loading with binutils 2.37
Alexander Lindsay
alexlindsay239@gmail.com
Tue Feb 8 18:45:32 GMT 2022
Hmm, I'm trying with master and I still see the slowness. I'll note that I
also saw the slowness when I configured a 2.37 build with
`--enable-follow-debug-links=no` when I was wondering if that was the
relevant change.
On Tue, Feb 8, 2022 at 9:58 AM H.J. Lu <hjl.tools@gmail.com> wrote:
> 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