This is the mail archive of the gdb@sourceware.org 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]

Re: speeding up time to hit first breakpoint


On Mon, 03 Oct 2016 12:04:27 +0200, Noel Grandin wrote:
> I took a trace with 'perf record -g', which I'm enclosing. It looks like the
> bulk of the time is spent in xrealloc.

GDB unspecific but you can significantly improve the times by linking GDB
with: -ltcmalloc


Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]