public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: larsbj@gullik.net (Lars Gullik Bjønnes)
To: gcc@gcc.gnu.org
Subject: Re: Speed issues taken seriously?
Date: Wed, 15 Oct 2003 18:06:00 -0000	[thread overview]
Message-ID: <m365iqmnii.fsf@tyfon.gullik.net> (raw)
In-Reply-To: <m3y8vtm4r3.fsf@tyfon.gullik.net>


I hope this will be useful for someone.


Updated numbers:

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   |
--------+---+------------+-----------+----------+-----------+-----------|
-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


The "raw" numbers:


g++ (GCC) 3.3.2 20031015 (prerelease)

with -O

real    21m44.439s
user    19m44.730s
sys     1m47.030s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5081976 Oct 15 13:33 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    4788930 Oct 15 13:33 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
3684558   19884   54908 3759350  395cf6 src/lyx-xforms
3897368   18292   29948 3945608  3c3488 src/lyx-qt

with -O2

real    24m38.958s
user    22m39.550s
sys     1m48.460s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5302353 Oct 15 15:33 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5052961 Oct 15 15:33 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
3949410   19884   54880 4024174  3d676e src/lyx-xforms
4117692   18292   29952 4165936  3f9130 src/lyx-qt

with -O3

real    25m11.832s
user    23m7.770s
sys     1m50.550s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5288073 Oct 15 16:07 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5037109 Oct 15 16:07 src/lyx-xforms

   text    data     bss     dec     hex filename
3917397   19880   54848 3992125  3cea3d src/lyx-xforms
4089953   18292   29920 4138165  3f24b5 src/lyx-qt


g++ (GCC) 3.4 20031014 (experimental)

with -O

real    24m44.100s
user    22m45.080s
sys     1m47.200s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5908781 Oct 15 14:17 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5582322 Oct 15 14:17 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
3950263   19980   55136 4025379  3d6c23 src/lyx-xforms
4132675   18372   30144 4181191  3fccc7 src/lyx-qt

with -O2

real    27m6.047s
user    24m57.820s
sys     1m51.480s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5390050 Oct 15 16:45 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5084835 Oct 15 16:44 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
4085829   19860   54800 4160489  3f7be9 src/lyx-xforms
4223050   18312   29904 4271266  412ca2 src/lyx-qt

with -O3

real    28m41.760s
user    26m30.820s
sys     1m53.170s

[larsbj@tyfon lyx34]$ ls -l src/lyx-xforms src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5681254 Oct 15 17:22 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5332135 Oct 15 17:22 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
4333699   19856   54796 4408351  43441f src/lyx-xforms
4510584   18308   29900 4558792  458fc8 src/lyx-qt

with -O2 --param max-inline-insns-single=100

real    26m31.552s
user    24m25.590s
sys     1m51.450s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5164703 Oct 15 18:29 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    4860852 Oct 15 18:29 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
3809882   19888   54508 3884278  3b44f6 src/lyx-xforms
3942533   18348   29580 3990461  3ce3bd src/lyx-qt

with -O3 --param max-inline-insns-single=100 --param max-inline-insns-auto=100

real    27m56.120s
user    25m45.220s
sys     1m57.550s

ls -l
-rwxrwxr-x    1 larsbj   larsbj    5368972 Oct 15 19:08 src/lyx-qt
-rwxrwxr-x    1 larsbj   larsbj    5025193 Oct 15 19:07 src/lyx-xforms

size src/lyx-xforms src/lyx-qt
   text    data     bss     dec     hex filename
3973255   19896   54512 4047663  3dc32f src/lyx-xforms
4147050   18352   29584 4194986  4002aa src/lyx-qt


-- 
	Lgb

  parent reply	other threads:[~2003-10-15 17:14 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-10 15:21 Lars Gullik Bjønnes
2003-10-10 15:21 ` Steven Bosscher
2003-10-10 15:57   ` Lars Gullik Bjønnes
2003-10-10 17:03     ` Andreas Jaeger
2003-10-10 15:42 ` Andreas Jaeger
2003-10-10 16:33   ` Lars Gullik Bjønnes
2003-10-10 17:04     ` Lars Gullik Bjønnes
2003-10-10 17:49       ` Jan Hubicka
2003-10-10 17:49       ` Andreas Jaeger
2003-10-15 18:06       ` Lars Gullik Bjønnes [this message]
2003-10-18 12:44         ` Gerald Pfeifer
2003-10-18 14:26           ` Jan Hubicka
2003-10-18 17:51             ` Joel Sherrill
2003-10-18 18:30               ` Jan Hubicka
2003-10-10 19:37 ` Daniel Berlin

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=m365iqmnii.fsf@tyfon.gullik.net \
    --to=larsbj@gullik.net \
    --cc=gcc@gcc.gnu.org \
    /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).