This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: Huge slowdown since 6.0
- From: Elena Zannoni <ezannoni at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: carlton at kealia dot com, gdb at sources dot redhat dot com
- Date: Wed, 18 Feb 2004 20:54:54 -0500
- Subject: Re: Huge slowdown since 6.0
- References: <20040218210927.GA16641@nevyn.them.org>
Daniel Jacobowitz writes:
> I finished prototyping my partial-symbol-sorting changes, as discussed on
> gdb-patches, and went to measure their impact. The results were a little
> confusing, but I've tracked them down. At the bottom of my message are
> profiling numbers if you want to see them. The summary is that I hope they
> won't be needed.
>
> Basically, the bottleneck in strcmp_iw_ordered that I am attacking was not
> there in 6.0. This baffled me. There were just as many psymbols and there
> should have been just as many calls; the change to use strcmp_iw_ordered
> predates 6.0.
How many psymbols do you have in the pst list of globals before and
after David's change? All you did was to time the times it took to
insert symbols and sort them, no lookups, right?