This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Initial psymtab replacement results
- From: Tom Tromey <tromey at redhat dot com>
- To: Daniel Jacobowitz <drow at false dot org>
- Cc: archer at sourceware dot org
- Date: Wed, 06 Jan 2010 16:04:50 -0700
- Subject: Re: Initial psymtab replacement results
- References: <m38wda337i.fsf@fleche.redhat.com><m3skbhw1j6.fsf@fleche.redhat.com><20091211235901.GA16889@caradoc.them.org><m3fx7dqix5.fsf@fleche.redhat.com><20091214230947.GA31362@caradoc.them.org><m3ws0nn6y5.fsf@fleche.redhat.com> <m3aax95ytl.fsf@fleche.redhat.com><m3zl58z4f6.fsf@fleche.redhat.com>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> Actually, I finished it yesterday and got preliminary results:
[...]
This week I fixed a few bugs and tried this out on OO.o.
The attach results are competitive with the .debug_gnu_index approach --
actually a bit faster, as one would expect, because less work is done at
startup.
"thread apply all bt full" is a little slower (than .debug_gnu_index), I
think because this code uses a "pre-expand" model, and is fairly
indiscriminate. That is, if a given symbol (say a type name) is looked
for, all symtabs holding that name are expanded. The slowdown isn't
severe, though, but it could be fixed by some additional smarts in the
index writer.
This version of the index code is faster than CVS gdb on both operations
(when the index exists).
Tom