This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Exec/Compile/Link Speed Comparison gcc/vc++


g2.95.2 is the mingw version (with the msvcrt libraries
because they are supposedly faster)

Reading specs from
C:\data\q\g2952\bin\..\lib\gcc-lib\i386-mingw32msvc\2.95.2\specs
gcc version 2.95.2 19991024 (release)

I made another test vc++ V6.0 against gcc2.95 and some older
beta version (like Beta 20.0 and 20.1, that need the special
cygwin1.dll)

Everything is controlled by a c program, that generates appropriate
makefiles, calls 
system("zzmain.bat")
in zzmain.bat the path is always reset and then set to the 
current compiler version bin and then the 
make is done (make clean, make -f <file>) followed by another 
system("program") that executes the program that was build.

Compiler  (CFLAGS)          Execute(%)    Comp/link(%) Count
             size [bytes]    min - max     min - max
m6.0                         3.05(190.5%)  3.27(100.0%)  5
           122880            2.88- 3.30    3.23- 3.34
g2.95.2                      3.24(202.2%)  5.71(174.8%)  5
            96307            3.01- 3.39    5.66- 5.77
gb20                         3.24(202.2%)  7.57(231.8%)  5
           100769            3.09- 3.66    7.22- 8.00
gb20.1                       3.59(224.1%)  7.52(230.2%)  5
           387429            3.13- 3.94    7.31- 8.10
egcs1.1                      3.26(203.3%)  6.37(194.9%) 10
           255517            3.08- 3.78    5.70- 7.33

OPTIMIZATION ON

m6.0  /Ox /G5                1.60(100.0%)  6.15(188.2%)  5
            94208            1.54- 1.68    6.04- 6.36
g2.95.2  -O2                 2.23(139.2%) 12.32(377.1%)  5
            75107            2.20- 2.25   12.12-12.59
gb20  -O2                    2.82(175.7%) 11.71(358.5%)  5
            76497            2.21- 3.16   11.48-12.25
gb20.1  -O2                  2.40(149.6%) 12.71(389.2%)  5
           363669            2.28- 2.51   12.43-13.17

-- 
Sent through Global Message Exchange - http://www.gmx.net


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]