From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 116393 invoked by alias); 8 Oct 2018 00:01:23 -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 116352 invoked by uid 89); 8 Oct 2018 00:01:22 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy= X-HELO: gateway20.websitewelcome.com Received: from gateway20.websitewelcome.com (HELO gateway20.websitewelcome.com) (192.185.63.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Oct 2018 00:01:19 +0000 Received: from cm15.websitewelcome.com (cm15.websitewelcome.com [100.42.49.9]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 6C9E7400CD322 for ; Sun, 7 Oct 2018 19:01:16 -0500 (CDT) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id 9Iz6gA8bH8YaU9Iz6gcBg1; Sun, 07 Oct 2018 19:01:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=EH/1gPwywLXna5F8oDwCZrn1G6z+m7iK/J3e59Qy0FE=; b=cA4Cth5mQIBA1ASeENGjeQHO/W zJsLD8iuAe/FbryJLQ4u8iSFtTl9mTFQb9tLuKsf/1xzxEopHGHAGc63WKaX/R6x/T6b6gSXmEz2F 9akCjl3KRybcTXhMV7nat+I3b; Received: from 97-122-190-66.hlrn.qwest.net ([97.122.190.66]:49250 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.91) (envelope-from ) id 1g9Iz6-000OoT-4V; Sun, 07 Oct 2018 19:01:16 -0500 From: Tom Tromey To: Simon Marchi Cc: Tom Tromey , gdb-patches@sourceware.org Subject: Re: [RFA 08/15] Remove readin and compunit_symtab fields from psymtab References: <20180510222357.27332-1-tom@tromey.com> <20180510222357.27332-9-tom@tromey.com> <5f8f38c4-8b4b-9fea-b9f2-7c69758a09c2@simark.ca> <87lg7mi5al.fsf@tromey.com> <87zhvreujr.fsf@tromey.com> <0f59e2a3-b9e2-511c-7807-b7a68a8df1cf@simark.ca> Date: Mon, 08 Oct 2018 00:01:00 -0000 In-Reply-To: <0f59e2a3-b9e2-511c-7807-b7a68a8df1cf@simark.ca> (Simon Marchi's message of "Sun, 7 Oct 2018 18:04:11 -0400") Message-ID: <87tvlxcnn8.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-10/txt/msg00164.txt.bz2 >>>>> "Simon" == Simon Marchi writes: >> I ran the gdb.perf tests and on some tests, it seems that the results >> are within the noise; but on backtrace (2048) and skip-function-3000 (4000) >> gdb is about 4% slower. I don't know if this is enough to worry about. Simon> That sounds like a reasonable trade-off in exchange for the feature of decoupling Simon> psymtabs from objfiles. Perhaps we can put it on the list of "candidates for htab_t" Simon> (could be a comment next to the field), for when we finally bring the C++ wrappers Simon> from gcc :). Just to be clear, 4% was the slowdown after I switched it to htab_t. Tom