You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by Alan Conway <ac...@redhat.com> on 2006/09/07 22:12:41 UTC

Re: svn commit: r480 - C++ notes.

A couple of further notes on my commit:

I will convert remaining C++ tests to CppUnit and put a better
framework in place for running multiple tests - reorganize as a single
test runner exe and a collection of tests plugins. If you're writing
tests meantime you can copy QueueRegistryTest and propagate the
multiple-exe approach till I get this done.

I'll put up some wiki pages explaining the patterns mentioned:
internal locking, scoped lockers and shared_ptr, I'll mail the list when
its done.

The linker is horribly slow on my machine (>2m per exe)  I'm not sure
but I suspect my commit has made it worse. I'll look into it but I'd
_really_ appreciate any ideas. I've found some google evidence that
others have had speed problems with the gcc 4.1.1 linker but no answers
yet.

Cheers,
Alan.


[c++] Re: svn commit: r480 - C++ notes.

Posted by Gordon Sim <gs...@redhat.com>.
Alan Conway wrote:
> The linker is horribly slow on my machine (>2m per exe)  I'm not sure
> but I suspect my commit has made it worse. I'll look into it but I'd
> _really_ appreciate any ideas. I've found some google evidence that
> others have had speed problems with the gcc 4.1.1 linker but no answers
> yet.

I don't think this was anything you did. I have noticed it for a while. 
One problem is that the current makefiles aren't that smart and the 
linking involves unnecessary object files being passed in (especially 
for some of the tests) in order to avoid specifying them explicitly. 
More precise definitions using the dependencies should allow us to 
improve a little...