From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10097 invoked by alias); 19 Feb 2004 01:59:21 -0000 Mailing-List: contact gdb-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sources.redhat.com Received: (qmail 9846 invoked from network); 19 Feb 2004 01:59:19 -0000 Received: from unknown (HELO localhost.redhat.com) (66.30.197.194) by sources.redhat.com with SMTP; 19 Feb 2004 01:59:19 -0000 Received: by localhost.redhat.com (Postfix, from userid 469) id 1C9E61A448A; Wed, 18 Feb 2004 20:54:54 -0500 (EST) From: Elena Zannoni MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <16436.5998.22504.266273@localhost.redhat.com> Date: Thu, 19 Feb 2004 01:59:00 -0000 To: Daniel Jacobowitz Cc: carlton@kealia.com, gdb@sources.redhat.com Subject: Re: Huge slowdown since 6.0 In-Reply-To: <20040218210927.GA16641@nevyn.them.org> References: <20040218210927.GA16641@nevyn.them.org> X-SW-Source: 2004-02/txt/msg00235.txt.bz2 Daniel Jacobowitz writes: > I finished prototyping my partial-symbol-sorting changes, as discussed on > gdb-patches, and went to measure their impact. The results were a little > confusing, but I've tracked them down. At the bottom of my message are > profiling numbers if you want to see them. The summary is that I hope they > won't be needed. > > Basically, the bottleneck in strcmp_iw_ordered that I am attacking was not > there in 6.0. This baffled me. There were just as many psymbols and there > should have been just as many calls; the change to use strcmp_iw_ordered > predates 6.0. How many psymbols do you have in the pst list of globals before and after David's change? All you did was to time the times it took to insert symbols and sort them, no lookups, right?