From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1687 invoked by alias); 18 Oct 2003 10:24:17 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 1680 invoked from network); 18 Oct 2003 10:24:16 -0000 Received: from unknown (HELO vexpert.dbai.tuwien.ac.at) (128.131.111.2) by sources.redhat.com with SMTP; 18 Oct 2003 10:24:16 -0000 Received: from [128.131.111.60] (acrux [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id D46461378E; Sat, 18 Oct 2003 12:24:15 +0200 (CEST) Date: Sat, 18 Oct 2003 12:44:00 -0000 From: Gerald Pfeifer To: =?iso-8859-1?q?Lars_Gullik_Bj=F8nnes?= Cc: gcc@gcc.gnu.org, Jan Hubicka Subject: Re: Speed issues taken seriously? In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-SW-Source: 2003-10/txt/msg00780.txt.bz2 On Wed, 15 Oct 2003, Lars Gullik Bjønnes wrote: > a = g++ (GCC) 3.3.2 20031015 (prerelease) > b = g++ (GCC) 3.4 20031014 (experimental) > > | user time | file size | size dec | size text | size data | > ------------+------------+-----------+----------+-----------+-----------| > -O | a | 19m44.730s | 4788930 | 3759350 | 3684558 | 19884 | > | b | 22m45.080s | 5582322 | 4025379 | 3950263 | 19980 | > --------+---+------------+-----------+----------+-----------+-----------| > -O2 | a | 22m39.550s | 5052961 | 4024174 | 3949410 | 19884 | > | b | 24m57.820s | 5084835 | 4160489 | 4085829 | 19860 | > --------+---+------------+-----------+----------+-----------+-----------| > -O3 | a | 23m07.770s | 5037109 | 3992125 | 3917397 | 19880 | > | b | 26m30.820s | 5332135 | 4408351 | 4333699 | 19856 | > --------+---+------------+-----------+----------+-----------+-----------| Hmm, that's bad. C++ in GCC 3.4 shouldn't be slower, but faster, at least at -O2 and -O3 according to previous tests. Jan? Or file a PR with one preprocessed file that shows the slowdown? (Something like PR8361.) > -O2 (1) | b | 24m25.590s | 4860852 | 3884278 | 3809882 | 19888 | > --------+---+------------+-----------+----------+-----------+-----------| > -O3 (2) | b | 25m45.220s | 5025193 | 4047663 | 3973255 | 19896 | > ------------------------------------------------------------------------- > > (1) -O2 --param max-inline-insns-single=100 > (2) -O3 --param max-inline-insns-single=100 --param max-inline-insns-auto=100 Gerald -- Gerald Pfeifer (Jerry) gerald@pfeifer.com http://www.pfeifer.com/gerald/