This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
is g++ 3.1 too slow?
- From: Reza Roboubi <reza at linisoft dot com>
- To: gcc_bugs <gcc-bugs at gcc dot gnu dot org>
- Date: Wed, 07 Aug 2002 11:51:42 -0700
- Subject: is g++ 3.1 too slow?
- Organization: Linisoft
g++ 3.1 does seem to be rather slow:
These are some approximate values for
>> time g++ test.ops.cc -Wall
if I use g++ version egcs-2.91.66 I get:
2.76user 0.17system 0:02.93elapsed 100%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (1203major+1304minor)pagefaults 0swaps
with 3.1 I get:
9.76user 0.32system 0:10.08elapsed 99%CPU (0avgtext+0avgdata
0maxresident)k
0inputs+0outputs (1439major+4645minor)pagefaults 0swaps
Note that I don't know exactly what libraries my 3.1 installation is
using. It may for instance be using the old c library that I already
had on my machine before I installed 3.1. Anyway, test.ops.cc is
simple enough. I put it on my web site:
http://www.linisoft.com/test/test.ops.cc