This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
> 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.
But with --readnow we do both psymtabs and symtabs. I wonder, if we didn't do psymtabs at all, the time would improve, one hopes. And the memory footprint would shrink too.
> Note that none of those times is really acceptably fast, IMHO. Probably > they all can be improved. Looking at profiling data I see about three > seconds we can knock off the symbol reader and there are almost > certainly more.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |