From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21200 invoked by alias); 24 Oct 2014 07:19:40 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 21191 invoked by uid 89); 24 Oct 2014 07:19:39 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.1 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-qa0-f49.google.com Received: from mail-qa0-f49.google.com (HELO mail-qa0-f49.google.com) (209.85.216.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Fri, 24 Oct 2014 07:19:38 +0000 Received: by mail-qa0-f49.google.com with SMTP id f12so469891qad.22 for ; Fri, 24 Oct 2014 00:19:36 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.170.159.2 with SMTP id a2mr3587388ykd.82.1414135176214; Fri, 24 Oct 2014 00:19:36 -0700 (PDT) Received: by 10.170.140.214 with HTTP; Fri, 24 Oct 2014 00:19:36 -0700 (PDT) In-Reply-To: <20141020214410.GA22011@host2.jankratochvil.net> References: <20141020214410.GA22011@host2.jankratochvil.net> Date: Fri, 24 Oct 2014 07:19:00 -0000 Message-ID: Subject: Re: [patch 0/2] Accelerate symbol lookups 15x From: Doug Evans To: Jan Kratochvil Cc: "gdb-patches@sourceware.org" Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-10/txt/msg00630.txt.bz2 On Mon, Oct 20, 2014 at 2:44 PM, Jan Kratochvil wrote: > Hi, > > this patchset has been developed+tested only on top of > [patchv2] Fix 100x slowdown regression on DWZ files > https://sourceware.org/ml/gdb-patches/2014-10/msg00031.html > > [...] > g++ -o slow slow.C -Wall -g $(pkg-config --libs gtkmm-3.0) > gdb ./slow -ex 'b C::m' -ex 'maintenance set per-command space' -ex 'maintenance set per-command symtab' -ex 'maintenance set per-command time' -ex r > [...] > (gdb) p > Display all 183904 possibilities? (y or n) n > (gdb) p/r var Sorry I didn't mention this sooner. I wanted to point this out since it's a more straightforward way to expand symtabs. Instead of using "p " to expand symtabs, there is "mt expand-symtabs".