From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6599 invoked by alias); 6 Jan 2010 23:05:04 -0000 Mailing-List: contact archer-help@sourceware.org; run by ezmlm Sender: Precedence: bulk List-Post: List-Help: List-Subscribe: List-Id: Received: (qmail 6418 invoked by uid 22791); 6 Jan 2010 23:05:02 -0000 X-SWARE-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org From: Tom Tromey To: Daniel Jacobowitz Cc: archer@sourceware.org Subject: Re: Initial psymtab replacement results References: <20091211235901.GA16889@caradoc.them.org> <20091214230947.GA31362@caradoc.them.org> Reply-To: Tom Tromey Date: Wed, 06 Jan 2010 23:05:00 -0000 In-Reply-To: (Tom Tromey's message of "Thu, 24 Dec 2009 10:07:41 -0700") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-SW-Source: 2010-q1/txt/msg00004.txt.bz2 >>>>> "Tom" == Tom Tromey writes: Tom> Actually, I finished it yesterday and got preliminary results: [...] This week I fixed a few bugs and tried this out on OO.o. The attach results are competitive with the .debug_gnu_index approach -- actually a bit faster, as one would expect, because less work is done at startup. "thread apply all bt full" is a little slower (than .debug_gnu_index), I think because this code uses a "pre-expand" model, and is fairly indiscriminate. That is, if a given symbol (say a type name) is looked for, all symtabs holding that name are expanded. The slowdown isn't severe, though, but it could be fixed by some additional smarts in the index writer. This version of the index code is faster than CVS gdb on both operations (when the index exists). Tom