Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: "André Pönitz" <andre.poenitz@mathematik.tu-chemnitz.de>
To: gdb-patches@sourceware.org
Subject: Re: [RFA 5/4 take 2] Improved linker-debugger interface
Date: Thu, 19 Jul 2012 21:17:00 -0000	[thread overview]
Message-ID: <20120719211740.GB2947@klara.mpi.htwm.de> (raw)
In-Reply-To: <20120719151913.GF25093@redhat.com>

On Thu, Jul 19, 2012 at 04:19:13PM +0100, Gary Benson wrote:
> Hi all,
> 
> I did some profiling and realised that the probes patch I just mailed
> had reintroduced calls to update_section_map, a slow function I did
> some work to avoid calling last year:
> 
>   http://www.cygwin.com/ml/gdb-patches/2011-07/msg00460.html
>   http://www.cygwin.com/ml/gdb-patches/2011-10/msg00361.html
> 
> Attached is a patch to avoid calling update_section_map from the
> probes interface.  Updated timings are as follows:
> 
>   no of solibs    100     250     500     1000    2000    5000
>   ------------------------------------------------------------
>   old interface     1       3       9       35     141     942
>   new interface     0       0       1        4      14      89
>   (times in seconds)
> 
> So, with this patch GDB is not three but ten times faster.

Nice.

Andre'
 
PS: It pretty much looks like there is still some quadratic
behaviour somewhere...


  parent reply	other threads:[~2012-07-19 21:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-19 15:19 Gary Benson
2012-07-19 19:23 ` dje
2012-07-20  9:33   ` Gary Benson
2012-07-19 21:17 ` André Pönitz [this message]
2012-07-20 10:02   ` Gary Benson
2012-07-25 18:19     ` Tom Tromey
2012-07-25 18:22 ` Tom Tromey
2012-07-31 12:21   ` Gary Benson
2012-07-31 14:44     ` Tom Tromey

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=20120719211740.GB2947@klara.mpi.htwm.de \
    --to=andre.poenitz@mathematik.tu-chemnitz.de \
    --cc=gdb-patches@sourceware.org \
    /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