Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Daniel Jacobowitz <dan@codesourcery.com>
To: Keith Seitz <keiths@redhat.com>
Cc: gdb-patches@sourceware.org
Subject: Re: [RFA 2/4] dwarf2_physname
Date: Tue, 26 Jan 2010 21:17:00 -0000	[thread overview]
Message-ID: <20100126211733.GA17877@caradoc.them.org> (raw)
In-Reply-To: <4B576983.2090808@redhat.com>

On Wed, Jan 20, 2010 at 12:37:23PM -0800, Keith Seitz wrote:
> 1. time ./gdb -nx -q --batch-silent --pid $PID 2> /dev/null
> HEAD:
> real    0m20.242s  0m2.407s   0m2.418s   0m2.390s   0m2.416s
> user    0m3.565s   0m2.224s   0m2.253s   0m2.225s   0m2.240s
> sys     0m0.680s   0m0.184s   0m0.163s   0m0.165s   0m0.177s
> 
> dwarf2_physname:
> real    0m3.747s   0m2.452s   0m2.447s   0m2.447s   0m2.457s
> user    0m2.293s   0m2.283s   0m2.268s   0m2.267s   0m2.272s
> sys     0m0.185s   0m0.168s   0m0.178s   0m0.178s   0m0.184s

Consistently more, but not a major impact.

> 2. time ./gdb -nx -q --batch-silent --pid $PID -ex "thread apply all
> bt full" 2> /dev/null
> HEAD:
> real    0m3.001s   0m2.422s   0m2.440s   0m2.462s   0m2.447s
> user    0m2.277s   0m2.258s   0m2.250s   0m2.261s   0m2.251s
> sys     0m0.184s   0m0.163s   0m0.189s   0m0.199s   0m0.190s
> 
> dwarf2_physname:
> real    0m2.593s   0m2.502s   0m2.510s   0m2.513s   0m2.502s
> user    0m2.335s   0m2.322s   0m2.349s   0m2.321s   0m2.334s
> sys     0m0.166s   0m0.179s   0m0.160s   0m0.186s   0m0.157s

Ditto.  A little bigger than previously, but still not much.

> 3. time ./gdb -nx -q --batch-silent --readnow --pid $PID 2> /dev/null
> HEAD:
> real    0m28.275s   0m10.996s   0m11.060s   0m11.035s   0m11.038s
> user    0m12.346s   0m10.378s   0m10.473s   0m10.450s   0m10.436s
> sys     0m1.082s    0m0.613s    0m0.567s    0m0.570s    0m0.583s
> 
> dwarf2_physname:
> real    0m36.998s   0m17.212s   0m17.295s   0m17.304s   0m17.288s
> user    0m18.684s   0m16.502s   0m16.537s   0m16.572s   0m16.585s
> sys     0m1.188s    0m0.702s    0m0.740s    0m0.719s    0m0.689s

Not nearly as bad as I expected.

I think that this means we should move on past the speed concern for
now, and focus on any other issues in the patch.  Where were we on
that front?

-- 
Daniel Jacobowitz
CodeSourcery


  reply	other threads:[~2010-01-26 21:17 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-20 21:20 Keith Seitz
2009-11-20 22:10 ` Daniel Jacobowitz
2009-11-21  0:04   ` Tom Tromey
2009-11-21  3:46     ` Frank Ch. Eigler
2009-11-23 18:06       ` Tom Tromey
2009-11-23 19:00         ` Daniel Jacobowitz
2009-11-23 16:52   ` Keith Seitz
2009-11-23 17:08     ` Daniel Jacobowitz
2009-11-24 19:20       ` Sami Wagiaalla
2010-01-27 17:10         ` Sami Wagiaalla
2009-12-08 19:47   ` Keith Seitz
2009-12-14 19:33     ` Keith Seitz
2009-12-17 20:19       ` Tom Tromey
2009-12-17 20:28         ` Daniel Jacobowitz
2009-12-17 22:39           ` Paul Pluzhnikov
2009-12-22 18:35           ` Tom Tromey
2009-12-22 19:24             ` Daniel Jacobowitz
2010-01-20 20:37               ` Keith Seitz
2010-01-26 21:17                 ` Daniel Jacobowitz [this message]
2010-01-27 19:12                   ` Keith Seitz
2010-01-28 20:22                     ` Keith Seitz
2010-01-28 20:24                       ` Daniel Jacobowitz
2010-01-28 23:41                         ` Keith Seitz
2010-02-01 16:48                           ` Daniel Jacobowitz
2010-02-01 19:32                             ` Keith Seitz
2010-02-01 19:39                               ` Daniel Jacobowitz
2010-02-01 21:52                                 ` Keith Seitz
2010-02-01 22:19                                   ` Daniel Jacobowitz
2010-02-02 23:23                                     ` Keith Seitz
2010-02-02 23:31                                       ` Keith Seitz
2010-02-03  2:46                                       ` Daniel Jacobowitz
2010-02-04 17:48                                         ` Tom Tromey
2010-02-04 18:14                                           ` Daniel Jacobowitz
2010-02-05 17:13                                             ` Keith Seitz
2010-02-05 17:29                                               ` Daniel Jacobowitz
2010-02-05 20:24                                                 ` Keith Seitz
2010-02-05 20:57                                                   ` Daniel Jacobowitz
2010-02-05 23:10                                                     ` Keith Seitz
2010-02-05 23:46                                                       ` Daniel Jacobowitz
2010-02-04 17:21                             ` Tom Tromey
2010-02-04 17:25                               ` Daniel Jacobowitz
2009-11-23  7:31 ` André Pönitz
2009-11-23 16:57   ` Keith Seitz
2009-11-23 17:20     ` Tom Tromey
2009-11-24  7:22     ` André Pönitz
2009-11-24 22:54       ` Tom Tromey
2009-11-25  9:16         ` André Pönitz
2009-11-25 18:14           ` Tom Tromey
2009-11-23 17:15   ` Tom Tromey
2009-11-24 22:11 ` Joel Brobecker

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=20100126211733.GA17877@caradoc.them.org \
    --to=dan@codesourcery.com \
    --cc=gdb-patches@sourceware.org \
    --cc=keiths@redhat.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