Boost logo

Boost :

Subject: Re: [boost] [xint] Boost.Move vs Copy-on-Write timings
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-05-02 18:53:18

Hash: SHA1

On 05/02/2010 05:10 PM, vicente.botet wrote:

> Could you share the test programm so we can test with other compilers
> or architectures?

Certainly. I've just uploaded the updated code to the sandbox, at
<>. See the new PERFORMANCE
TESTING.txt file in the main directory for information on reproducing
the tests.

Let me know if you have any trouble with the setup. I don't use bjam for
my own testing (too slow, I've got a Code::Blocks project that
duplicates its functionality for my own local testing), so the jamfiles
might need some additional tweaking.

> Could you add some figures?
> * How many xint::integer copies?
> * How many xint::integer moves?
> * How many writes? 0?

It's not set up to report any of that yet. I'll see if I can get that
into the code tonight; if not, it may be Tuesday before I can get to it.

>> The compiler used was GCC 4.4.3, under Ubuntu Linux 10.04. The release
>> build used -O2 optimization; the debug build used none. Otherwise, the
>> settings were left at their defaults, except where noted below.
> Could you give figures with -O3? or bjam variant=release?

Probably not tonight, sorry. But once you've got the code, you should be
able to test those easily enough.
- --
Chad Nelson
Oak Circle Software, Inc.
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla -


Boost list run by bdawes at, gregod at, cpdaniel at, john at