Reichelt - Performance regression with libstdc++-v3 (original) (raw)

This is the mail archive of the libstdc++@gcc.gnu.orgmailing list for the libstdc++ project.


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

Hello!

I'm experiencing quite a performance problem with lists under libstdc++-v3. Consider the following simple program:

#include

int main () { std::list List; for ( int i=0; i<10000000; ++i ) List.push_back( int() ); return 0; }

Compiled with different versions of g++ (-O3 -funroll-loops -static) I get the following timings (on an i686 system, but it looks similar on an IRIX6.5 workstation):

This is a regression in performance of about 65% that came with the introduction of libstdc++-v3! (I also tested several snapshots between December 2000 and May 2001, but the results are the same. Compiling with "-fno-exceptions" doesn't help either.)

That leads to a couple of questions:

Greetings, Volker Reichelt


email: reichelt@igpm.rwth-aachen.de http://www.igpm.rwth-aachen.de/reichelt



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