This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speed issues taken seriously?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]