Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2005-09-17 19:56:26


Chris Frey <cdfrey_at_[hidden]> writes:

>> We'd be very interested in seeing results produced with other
>> compilers and/or platforms at the highest optimization levels.
>
> Here's a test from a machine I have handy:
>
> Compiler:
> Linux kernel 2.4.27
> gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
>
> Timings:
> Run #1 results discarded per standard practice
>
> Run #2
> plain time: 6.42
> named parameter time: 7.34
>
> Run #3
> plain time: 6.42
> named parameter time: 7.34

Looks like GCC's optimizer got better at some point. I just tested
with gcc-3.4.4 (on Cygwin) and got exactly the same time for both the
plain and named parameter tests. However, everything's about twice as
fast with gcc-4.0.0 :)

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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