From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2010 invoked by alias); 19 Nov 2014 19:48:04 -0000 Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-prs-owner@sourceware.org Received: (qmail 1955 invoked by uid 48); 19 Nov 2014 19:48:02 -0000 From: "dje at google dot com" To: gdb-prs@sourceware.org Subject: [Bug symtab/17604] Stop demangling ELF symbols, at least by default when we have DWARF Date: Wed, 19 Nov 2014 19:48:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: 7.8 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dje at google dot com X-Bugzilla-Status: NEW 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: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2014-q4/txt/msg00290.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=17604 --- Comment #3 from dje at google dot com --- Additional data. The memory measurement used here is just gdb's internal one, which uses the brk line, so take into account fairly large error bars here. Still, I think the numbers are educational. With my standard monster benchmark: Without demangled ELF syms: (gdb) mt set per on (gdb) file foo [...] Command execution time: 2.530785 (cpu), 3.364821 (wall) Space used: 241299456 (+237711360 for this command) #symtabs: 5695 (+5695), #primary symtabs: 86 (+86), #blocks: 1061 (+1061) With demangled ELF syms: (gdb) mt set per on (gdb) file foo [...] Command execution time: 11.107160 (cpu), 11.104109 (wall) Space used: 722186240 (+718598144 for this command) #symtabs: 5695 (+5695), #primary symtabs: 86 (+86), #blocks: 1061 (+1061) -> ~480MB increase -- You are receiving this mail because: You are on the CC list for the bug.