public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/60976] New: Compilation with G++ 4.9.0 is 2-3 times slower than with 4.8.2
@ 2014-04-26 15:36 astellar at ro dot ru
  2014-04-26 15:37 ` [Bug c++/60976] " astellar at ro dot ru
                   ` (28 more replies)
  0 siblings, 29 replies; 30+ messages in thread
From: astellar at ro dot ru @ 2014-04-26 15:36 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60976

            Bug ID: 60976
           Summary: Compilation with G++ 4.9.0 is 2-3 times slower than
                    with 4.8.2
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: astellar at ro dot ru

Created attachment 32686
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32686&action=edit
g++ -v output for 4.8.2

Hello. After test upgrade from 4.8.2 to 4.9.0 I've noticed that compilation
takes significantly more time than before. g++ -v output for both compilers is
in attachments.

I've compiled the same file from internal project with following switches.
Debug build here, but it's the same problem with release flags:
-std=gnu++11 -fvisibility=hidden -Wall -Wextra -Winit-self -Winvalid-pch
-Wfatal-errors -Woverloaded-virtual -fvisibility-inlines-hidden -O0 -g -pipe
-fsanitize=address -ftime-report

Full ftime-report output for both compilers is in attachments. From what I see,
these steps take significantly more time than before:
- phase lang. deferred   : 1.22 usr for 4.8.2, 4.08 usr for 4.9.0;
- template instantiation : 1.44 usr for 4.8.2, 5.59 usr for 4.9.0.

Some other numbers are higher too, but these 2 have the largest increase. I'm
not sure how to create a reduced test case from this project, but I will try
something on Monday.


^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2015-10-25  2:56 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-26 15:36 [Bug c++/60976] New: Compilation with G++ 4.9.0 is 2-3 times slower than with 4.8.2 astellar at ro dot ru
2014-04-26 15:37 ` [Bug c++/60976] " astellar at ro dot ru
2014-04-26 15:38 ` astellar at ro dot ru
2014-04-26 15:38 ` astellar at ro dot ru
2014-04-28 22:56 ` astellar at ro dot ru
2014-04-28 22:56 ` astellar at ro dot ru
2014-04-28 22:57 ` astellar at ro dot ru
2014-04-28 22:58 ` astellar at ro dot ru
2014-04-28 22:58 ` astellar at ro dot ru
2014-04-28 22:59 ` astellar at ro dot ru
2014-04-29  7:58 ` redi at gcc dot gnu.org
2015-04-08  7:00 ` rene.koecher@wincor-nixdorf.com
2015-04-08  8:42 ` trippels at gcc dot gnu.org
2015-04-08  9:02 ` redi at gcc dot gnu.org
2015-04-09  7:16 ` rene.koecher@wincor-nixdorf.com
2015-04-09  9:07 ` redi at gcc dot gnu.org
2015-04-09  9:10 ` rene.koecher@wincor-nixdorf.com
2015-04-09  9:12 ` redi at gcc dot gnu.org
2015-04-09  9:47 ` trippels at gcc dot gnu.org
2015-10-19 19:21 ` ott at fb dot com
2015-10-19 20:54 ` redi at gcc dot gnu.org
2015-10-19 21:25 ` redi at gcc dot gnu.org
2015-10-19 22:42 ` ott at fb dot com
2015-10-20  0:05 ` redi at gcc dot gnu.org
2015-10-21  3:32 ` ott at fb dot com
2015-10-21 19:33 ` ott at fb dot com
2015-10-21 20:27 ` redi at gcc dot gnu.org
2015-10-22  6:35 ` rene.koecher@wincor-nixdorf.com
2015-10-22  7:12 ` ott at fb dot com
2015-10-25  2:56 ` redi at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).