From: Jan Kratochvil <jan.kratochvil@redhat.com>
To: Noel Grandin <noelgrandin@gmail.com>
Cc: gdb@sourceware.org
Subject: Re: speeding up time to hit first breakpoint
Date: Mon, 03 Oct 2016 11:16:00 -0000 [thread overview]
Message-ID: <20161003111628.GA21817@host1.jankratochvil.net> (raw)
In-Reply-To: <cd1690e2-6915-d275-cb8f-48036ee167ae@gmail.com>
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
prev parent reply other threads:[~2016-10-03 11:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-03 10:04 Noel Grandin
2016-10-03 11:16 ` Jan Kratochvil [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20161003111628.GA21817@host1.jankratochvil.net \
--to=jan.kratochvil@redhat.com \
--cc=gdb@sourceware.org \
--cc=noelgrandin@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox