This is the mail archive of the
archer@sourceware.org
mailing list for the Archer project.
Re: Initial psymtab replacement results
>>>>> "Tom" == Tom Tromey <tromey@redhat.com> writes:
Tom> I haven't written the reader side of this yet. I probably won't finish
Tom> that until sometime in January.
Actually, I finished it yesterday and got preliminary results:
With index:
opsy. /usr/bin/time ./gdb/gdb -batch ./gdb/gdb
0.21user 0.03system 0:00.30elapsed 82%CPU (0avgtext+0avgdata 0maxresident)k
8inputs+32outputs (0major+3760minor)pagefaults 0swaps
Without:
opsy. /usr/bin/time ./gdb/gdb -batch ./gdb/gdb
3.16user 0.09system 0:03.82elapsed 85%CPU (0avgtext+0avgdata 0maxresident)k
8inputs+32outputs (0major+10562minor)pagefaults 0swaps
This is with a warm cache, I didn't find the time to do it the other way
yet.
I just picked a size for all the offsets (32 bits) and an endianness
(little) for the index. I figure big-endian hosts can byteswap when
using the index, that might not be too bad in practice.
Tom