public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Dave Korn <dave.korn.cygwin@googlemail.com>
To: Basile STARYNKEVITCH <basile@starynkevitch.net>
Cc: Ian Lance Taylor <iant@google.com>,   GCC Mailing List <gcc@gcc.gnu.org>
Subject: Re: very different compilation times [no optimisation]
Date: Fri, 06 Nov 2009 15:49:00 -0000	[thread overview]
Message-ID: <4AF44904.4040105@gmail.com> (raw)
In-Reply-To: <4AF443FB.6060206@starynkevitch.net>

Basile STARYNKEVITCH wrote:

>>> Notice that gcc 4.4 is running four times slower that gcc-4.3!

> glinka ~/tmp 16:39 % gcc-4.3 -ftime-report -O0 -g -fPIC
> warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.3.o
> 
> Execution times (seconds)
>  TOTAL                 :  33.13             3.33           
> 36.64             363506 kB

> glinka ~/tmp 16:40 % gcc-4.4 -ftime-report -O0 -g -fPIC
> warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.4.o
>  TOTAL                 :  10.83             3.03           
> 13.90             429820 kB
> glinka ~/tmp 16:41 %

  Wait, what? :-P


  Assuming you got those results swapped round, I see it's mostly expand and
global alloc.  Side effect of IRA on functions with loooong unbroken sequences
of initialisations maybe?

    cheers,
      DaveK

  reply	other threads:[~2009-11-06 15:49 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06 15:04 Basile STARYNKEVITCH
2009-11-06 15:16 ` Dave Korn
2009-11-06 15:36   ` Basile STARYNKEVITCH
2009-11-06 15:35 ` Ian Lance Taylor
2009-11-06 15:43   ` Basile STARYNKEVITCH
2009-11-06 15:49     ` Dave Korn [this message]
2009-11-06 16:00       ` Ian Lance Taylor
2009-11-06 16:48         ` Basile STARYNKEVITCH
2009-11-06 16:37     ` Basile STARYNKEVITCH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AF44904.4040105@gmail.com \
    --to=dave.korn.cygwin@googlemail.com \
    --cc=basile@starynkevitch.net \
    --cc=gcc@gcc.gnu.org \
    --cc=iant@google.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).