From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 70456 invoked by alias); 8 Apr 2015 07:00:40 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 70341 invoked by uid 48); 8 Apr 2015 07:00:27 -0000 From: "rene.koecher@wincor-nixdorf.com" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/60976] Compilation with G++ 4.9.0 is 2-3 times slower than with 4.8.2 Date: Wed, 08 Apr 2015 07:00:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 4.9.0 X-Bugzilla-Keywords: compile-time-hog X-Bugzilla-Severity: normal X-Bugzilla-Who: rene.koecher@wincor-nixdorf.com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-04/txt/msg00490.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60976 Rene Koecher changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rene.koecher@wincor-nixdorf | |.com --- Comment #11 from Rene Koecher --- Hi, I want to chime in on this - is there anything new regarding the issue? The current state marks it as UNCONFIRMED however there is some definite performance loss even in the current 4.9.1 and 4.9.2 gcc releases. My employer switched to gcc 4.9.1 recently and our codebase (mostly C++, heave users of stl / boost) has almost doubled it's compile time. We're up to 60min for a clean compile - and that is with ccache enabled. Plain, no-ccache compiles are even worse. Compiling with -ftime-report shows that g++ is spending significant ammounts of time in the 'parsing' stage (mostly between 1.8 and 2.8sec/per file). Currently we're using 4.9.1 on CentOS 5 (custom build) but I also confirmed the same increase in compile time on a Gentoo and Debian system.