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 libstdc++/13351] [3.3 Regression] BIG slowdown in generated code (compared to 3.2)


------- Additional Comments From falk at debian dot org  2003-12-08 13:31 -------
I cannot reproduce this on Alpha. How's the speed at -O2? How about compilation
time and binary size? If compilation time or binary size are better, I would
find the slowdown quite acceptable at -O1 (but not at -O2).

falk@juist:/tmp% time g++-3.2 -O test.cc && ls -l a.out && time ./a.out
g++-3.2 -O test.cc  3.70s user 0.10s system 88% cpu 4.320 total
-rwxr-xr-x    1 falk     falk        36629 Dec  8 14:26 a.out*
./a.out  2.54s user 0.05s system 96% cpu 2.667 total
falk@juist:/tmp% time g++-3.3 -O test.cc && ls -l a.out && time ./a.out
g++-3.3 -O test.cc  2.85s user 0.20s system 86% cpu 3.535 total
-rwxr-xr-x    1 falk     falk        32434 Dec  8 14:26 a.out*
./a.out  2.54s user 0.03s system 91% cpu 2.795 total

At least on Alpha, 3.3 seems like a noticeable improvement :)


-- 


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


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