Results for g++ 3.3 application testing on i686-pc-linux-gnu

Paolo Carlini pcarlini@unitus.it
Sun Sep 29 17:37:00 GMT 2002


Reposting the tables decently formatted (sorry!)...

-O2
                        Seconds       Mflops
Test       Iterations     C    OOP     C    OOP  Ratio
----       ----------  -----------  -----------  -----
Max           1000000    2.9   2.8  346.0 353.4    1.0
Matrix          10000    2.9   3.1  862.1 811.7    1.1
Complex       1000000    8.2 107.3  -72.4  -5.5   13.2
Iterator      1000000    2.5   2.7  816.3 740.7    1.1


Compare to Intel6 (-O2):
                        Seconds       Mflops
Test       Iterations     C    OOP     C    OOP  Ratio
----       ----------  -----------  -----------  -----
Max           1000000    2.2   2.2  450.5 454.5    1.0
Matrix          10000    2.8   2.8  905.8 892.9    1.0
Complex       1000000    5.7   5.9  -103.5 -99.3   1.0
Iterator      1000000    2.2   2.1  917.4 939.0    1.0


I'm also attaching the test itself, just in case anyone is
interested in running it...

Ciao, Paolo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: oopack_v1p8.C.gz
Type: application/gzip
Size: 7221 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/libstdc++/attachments/20020929/73ae11b9/attachment.gz>


More information about the Libstdc++ mailing list