public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types
       [not found] <bug-24889-4717@http.sourceware.org/bugzilla/>
@ 2021-03-02 14:53 ` julien.torres at synopsys dot com
  2021-03-02 16:04 ` simark at simark dot ca
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: julien.torres at synopsys dot com @ 2021-03-02 14:53 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=24889

--- Comment #1 from Julien <julien.torres at synopsys dot com> ---
Hi,

Is there any update with this issue?
I tried with gdb 8.3 and the problem is still there.

Thanks.

Julien

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types
       [not found] <bug-24889-4717@http.sourceware.org/bugzilla/>
  2021-03-02 14:53 ` [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types julien.torres at synopsys dot com
@ 2021-03-02 16:04 ` simark at simark dot ca
  2021-03-03 13:54 ` julien.torres at synopsys dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 5+ messages in thread
From: simark at simark dot ca @ 2021-03-02 16:04 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=24889

Simon Marchi <simark at simark dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simark at simark dot ca

--- Comment #2 from Simon Marchi <simark at simark dot ca> ---
(In reply to Julien from comment #1)
> Hi,
> 
> Is there any update with this issue?
> I tried with gdb 8.3 and the problem is still there.
> 
> Thanks.
> 
> Julien

Nobody is looking into this AFAIK.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types
       [not found] <bug-24889-4717@http.sourceware.org/bugzilla/>
  2021-03-02 14:53 ` [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types julien.torres at synopsys dot com
  2021-03-02 16:04 ` simark at simark dot ca
@ 2021-03-03 13:54 ` julien.torres at synopsys dot com
  2021-03-03 14:09 ` cbiesinger at google dot com
  2021-03-03 14:14 ` julien.torres at synopsys dot com
  4 siblings, 0 replies; 5+ messages in thread
From: julien.torres at synopsys dot com @ 2021-03-03 13:54 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=24889

--- Comment #3 from Julien <julien.torres at synopsys dot com> ---
Hi Simon,

I have made some benchmarks on the attached example with various gdb versions.

gdb version   Time in seconds
gdb 8.0.1        2.3
gdb 8.1         10.0
gdb 8.3         10.1
gdb 9.1          5.8
gdb 9.2          6.0
gdb 10.1         4.9

As you can see, things have been significantly improved in 9.1 and 10.1, but it
is still significantly slower than with 8.0.1.

I have found the issue with some programs using SystemC. But this probably
affects other programs which use lots of complex template classes and types (as
SystemC does).

So it would be be great if someone could have a look at the issue.

Thanks.

Julien

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types
       [not found] <bug-24889-4717@http.sourceware.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2021-03-03 13:54 ` julien.torres at synopsys dot com
@ 2021-03-03 14:09 ` cbiesinger at google dot com
  2021-03-03 14:14 ` julien.torres at synopsys dot com
  4 siblings, 0 replies; 5+ messages in thread
From: cbiesinger at google dot com @ 2021-03-03 14:09 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=24889

Christian Biesinger <cbiesinger at google dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cbiesinger at google dot com

--- Comment #4 from Christian Biesinger <cbiesinger at google dot com> ---
Thanks for doing that benchmark. Could you share exactly which commands you
tried that were slow?

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types
       [not found] <bug-24889-4717@http.sourceware.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2021-03-03 14:09 ` cbiesinger at google dot com
@ 2021-03-03 14:14 ` julien.torres at synopsys dot com
  4 siblings, 0 replies; 5+ messages in thread
From: julien.torres at synopsys dot com @ 2021-03-03 14:14 UTC (permalink / raw)
  To: gdb-prs

https://sourceware.org/bugzilla/show_bug.cgi?id=24889

--- Comment #5 from Julien <julien.torres at synopsys dot com> ---
Hi Christian,

I used the example attached to this ticket.
Then I simply ran:
% time gdb -x test.gdb
With test.gdb containing the following:

file ./test

break 6
run
set pagination off

set $loop = 10
while $loop > 0
whatis my_bool
set $loop = $loop - 1
end

cont
quit


Thanks.

Julien

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-03 14:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-24889-4717@http.sourceware.org/bugzilla/>
2021-03-02 14:53 ` [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types julien.torres at synopsys dot com
2021-03-02 16:04 ` simark at simark dot ca
2021-03-03 13:54 ` julien.torres at synopsys dot com
2021-03-03 14:09 ` cbiesinger at google dot com
2021-03-03 14:14 ` julien.torres at synopsys dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).