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]

gcc 3.2 c++ deceleration


Hello,

I'd like just report that gcc 3.2 c++ compilation performance is much
worse than performance of gcc 3.1 and gcc 3.1.1. I've tested it on three
compilation (with one compiler) of one file from MICO distributions and
results look:

file: mico/orb/orb.cc
compiler params: -I../include -O0 -D_GNU_SOURCE -D_REENTRANT -fpermissive   -DPIC -fPIC  -c

gcc 3.2 (today's snapshot):

real    0m37.076s
user    0m36.470s
sys     0m0.440s

gcc 3.1.1 (today's snapshot):

real    0m27.570s
user    0m27.160s
sys     0m0.360s


gcc 3.1 (release):

real    0m27.747s
user    0m27.350s
sys     0m0.390s

and for comparsion

gcc 2.95.4 (Debian prerelase):

real    0m17.329s
user    0m16.920s
sys     0m0.400s

>From this test I've found that gcc 3.1.1 looks a bit faster than gcc 3.1.
For better comparsion of gcc 3.2 and 3.1.x I've saved preprocessed files
(to compare sizes) and they look:

thinkpad:~/cvs/buildspace/32-mt-build/mico/orb$ ls -la orb.ii-*
-rw-rw-r--    1 karel    karel     1667543 Jun  4 20:50 orb.ii-2954
-rw-rw-r--    1 karel    karel     2116238 Jun  4 20:49 orb.ii-31
-rw-rw-r--    1 karel    karel     2118503 Jun  4 20:48 orb.ii-311
-rw-rw-r--    1 karel    karel     2122919 Jun  4 20:47 orb.ii-32

Generated assembler files sizes look:

thinkpad:~/cvs/buildspace/32-mt-build/mico/orb$ ls -la orb.s-*
-rw-rw-r--    1 karel    karel     4176320 Jun  4 20:51 orb.s-2954
-rw-rw-r--    1 karel    karel     2300179 Jun  4 20:50 orb.s-31
-rw-rw-r--    1 karel    karel     2298876 Jun  4 20:49 orb.s-311
-rw-rw-r--    1 karel    karel     2317615 Jun  4 20:48 orb.s-32


Is anything what I should try to help you fix this problem (gcc 3.2
slowdown)?

Thanks,

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com


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