This is the mail archive of the gcc-bugs@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]

[Bug c/41971] gcc 4.4 compiles 4 times slower than gcc 4.3 a huge file -O0 -g -fPIC



------- Comment #3 from bstarynk at gcc dot gnu dot org  2009-11-06 16:03 -------
The timing varies a lot even from one run to the next of the same compiler:



glinka ~/tmp 16:41 % time gcc-4.4  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.4.o
gcc-4.4 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.4.o 
32.44s user 1.75s system 99% cpu 34.472 total
glinka ~/tmp 16:56 % time gcc-4.4  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.4.o
gcc-4.4 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.4.o 
14.43s user 0.64s system 99% cpu 15.125 total
glinka ~/tmp 16:56 % time gcc-4.4  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.4.o
gcc-4.4 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.4.o 
39.23s user 1.95s system 99% cpu 41.298 total
glinka ~/tmp 16:57 % time gcc-4.4  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.4.o
gcc-4.4 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.4.o  8.69s
user 0.32s system 99% cpu 9.046 total
glinka ~/tmp 16:57 % time gcc-4.4  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.4.o
gcc-4.4 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.4.o 
20.98s user 1.18s system 99% cpu 22.282 total



glinka ~/tmp 16:58 % time gcc-4.3  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.3.o
gcc-4.3 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.3.o 
44.04s user 2.14s system 99% cpu 46.563 total
glinka ~/tmp 16:59 % time gcc-4.3  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.3.o
gcc-4.3 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.3.o  7.12s
user 0.27s system 99% cpu 7.402 total
glinka ~/tmp 17:00 % time gcc-4.3  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.3.o
gcc-4.3 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.3.o 
75.16s user 3.32s system 99% cpu 1:18.97 total
glinka ~/tmp 17:01 % time gcc-4.3  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.3.o
gcc-4.3 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.3.o 
20.78s user 0.96s system 99% cpu 21.856 total
glinka ~/tmp 17:01 % time gcc-4.3  -O0 -g -fPIC warmelt-normal-1.i -c -o
warmelt-normal-1-gcc-4.3.o
gcc-4.3 -O0 -g -fPIC warmelt-normal-1.i -c -o warmelt-normal-1-gcc-4.3.o  7.11s
user 0.32s system 99% cpu 7.442 total


-- 


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


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