This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC 8 vs. GCC 9 speed and size comparison
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Michael Matz <matz at suse dot de>
- Cc: Martin Liška <mliska at suse dot cz>, GCC Development <gcc at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, Richard Biener <richard dot guenther at gmail dot com>, Martin Jambor <mjambor at suse dot cz>
- Date: Mon, 15 Apr 2019 15:33:26 +0200
- Subject: Re: GCC 8 vs. GCC 9 speed and size comparison
- References: <6f547f38-1751-c003-b5ae-52dae776d39a@suse.cz> <65289853-0db4-4645-74b4-869443addf1a@suse.cz> <alpine.LSU.2.21.1904151206550.8064@wotan.suse.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Apr 15, 2019 at 12:12:13PM +0000, Michael Matz wrote:
> Hi,
>
> On Mon, 15 Apr 2019, Martin Liška wrote:
>
> > There's a similar comparison that I did for the official openSUSE gcc
> > packages. gcc8 is built with PGO, while the gcc9 package is built in 2
> > different configurations: PGO, LTO, PGO+LTO (LTO used for FE in stage4,
> > for generators in stage3 as well).
> >
> > Please take a look at attached statistics.
>
> It seems the C++ parser got quite a bit slower with gcc 9 :-( Most visible
> in the compile time for tramp-3d (24%) and kdecore.cc (18% slower with
> just PGO); it seems that the other .ii files are C-like enough to not
Is that with the same libstdc++ headers (i.e. identical *.ii files) or with
the corresponding libstdc++ headers? Those do change a lot every release as
well.
Jakub