From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D111839578EB; Wed, 3 Mar 2021 13:54:39 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D111839578EB From: "julien.torres at synopsys dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/24889] From gdb 8.1, major performance issue with all the commands involving a symbol lookup on class members of SystemC types Date: Wed, 03 Mar 2021 13:54:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 8.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: julien.torres at synopsys dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Mar 2021 13:54:39 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D24889 --- Comment #3 from Julien --- Hi Simon, I have made some benchmarks on the attached example with various gdb versio= ns. 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, bu= t 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 --=20 You are receiving this mail because: You are on the CC list for the bug.=