Hunting for performance regressions in libstdc++

Jonathan Wakely cow@compsoc.man.ac.uk
Thu Jun 16 11:25:00 GMT 2005


On Wed, Jun 15, 2005 at 09:09:54PM -0700, Dan Kegel wrote:

> I have a sneaking suspicion that some of my app's
> performance problems might be due to gcc-3.4.3's libstdc++
> being somehow slower than SGI's STL, so I'm planning
> on doing some performance testing of various implementations
> of STL.

As Paolo said, libstdc++-v3's STL _is_ SGI's STL, for the most part.

> Any more come to mind?

http://www.stepanovpapers.com/container_benchmark.cpp

(a modified version of which is included in libstdc++'s performance
testsuite, IIRC)

You might also try the Stepanov abstraction penalty tests.

jon

-- 
randsig.cc:23:In function `int pickNewSig(unsigned long rn, std::string& sigbuf, const std::string& oldsig, std::ifstream& sigf)':
randsig.cc:23: warning: ISO C++ forbids using compiler error msgs as signatures



More information about the Libstdc++ mailing list