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]

Re: c++/9111: gcc 3.0.4 slow run time reults


Synopsis: gcc 3.0.4 slow run time reults

State-Changed-From-To: open->feedback
State-Changed-By: paolo
State-Changed-When: Tue Dec 31 04:52:35 2002
State-Changed-Why:
    This is by and large a known issue (see libstdc++/7076 and
    some recent postings on the list).
    However, for the time being, could you possibly try:
    1- Upgrading to gcc3.2.1
    2- Putting std::ios::sync_with_stdio(false); at the
    beginning of your test.
    On i686-pc-linux-gnu, I'm getting the followin run times
    for HelloWorld2.cc (-O2 > /dev/null):
    3.0.4: 8.190u 4.440s 0:12.74 99.1%
    3.0.4 + sync(false): 2.360u 1.240s 0:03.63 99.1%
    3.2.1: 4.760u 0.410s 0:05.21 99.2%
    3.2.1 + sync(false): 1.320u 0.370s 0:01.70 99.4%
    
    Thanks, Paolo.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9111


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