This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13351] [3.3 Regression] BIG slowdown in generated code (compared to 3.2)
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2003 13:31:03 -0000
- Subject: [Bug libstdc++/13351] [3.3 Regression] BIG slowdown in generated code (compared to 3.2)
- References: <20031208072839.13351.cline@parashift.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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