On Fri, Jun 13, 2003 at 11:38:38AM -0400, Andrew Cagney wrote:
Daniel wrote:
> > 1) is very easy to measure. GDB has a command line option --readnow
> > which forces symtabs to be read in immediately. I tried my normal
> > performance testcase: a dummy main() linked to all of mozilla's
> > component libraries, with full stabs debug info. Note stabs, not
> > DWARF2, so the timing may vary. Also note that we duplicate psymtab
> > and symtab creation doing it this way, so it overestimates the cost.
I think that's an understatement.
Not really. You can subtract the psymtab time from the combined time,
and then compare. It still more than triples the time.