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]

is g++ 3.1 too slow?


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


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