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


-----BEGIN PGP SIGNED MESSAGE-----
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
<https://svn.boost.org/svn/boost/sandbox/xint>. 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.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkveAlsACgkQp9x9jeZ9/wQwEwCguDqQlZrVdo3xsHW5u1T3fMB4
q+AAnA3Pr8KCPxYrJ3ZGaApbwnNJua6W
=x9ww
-----END PGP SIGNATURE-----


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk