From: Peter Dimov (pdimov_at_[hidden])
Date: 2005-04-06 03:16:59
Rene Rivera wrote:
> OK.. done.. Made one minor fix to the implementations for an extra
> argument to decrement count (checked into CVS). The results for the
> timing test are:
> With BOOST_SP_DISABLE_THREADS..
> * cw-8.3 debug, 18.06
> * gcc-3.3 debug, 50.98
> * gcc-3.3 release, 18.47
> Without BOOST_SP_DISABLE_THREADS..
> * cw-8.3 debug, 21.08
> * gcc-3.3 debug, 51.07
> * gcc-3.3 release, 18.52
> I didn't build the release of cw-8.3 because it was taking along time,
> more than 10 minutes, to compile some of the files. It's most likely
> one of the unbounded optimizations CW likes getting into.
> To me the curious aspect is that CW is faster in debug mode than GCC
> in release mode. It's nice to see the threaded code be almost as fast
> as the non-threaded code.
Well-designed uniprocessor systems "should" be as fast in threaded mode;
we'll probably see a bigger hit on a dual PPC.
We can officially uncomment the #ifs in sp_counted_base.hpp now, I guess.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk