This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Exec/Compile/Link Speed Comparison gcc/vc++
- To: John pullitr <pullitr at gmx dot net>, cygwin at sourceware dot cygnus dot com
- Subject: Re: Exec/Compile/Link Speed Comparison gcc/vc++
- From: Earnie Boyd <earnie_boyd at yahoo dot com>
- Date: Thu, 23 Dec 1999 05:26:08 -0800 (PST)
- Reply-To: earnie_boyd at yahoo dot com
Hi John,
You said that gcc is from www.cygnus.com, is that the Cygwin version of gcc or
the Mingw32 version of gcc? The Cygwin version carries the extra weight of the
POSIX runtime layer and would be slower than Mingw32. Your timing results are
very impressive for Cygwin; but, I would like to see your timings run with
Mingw32.
TIA,
Earnie
--- John pullitr <pullitr@gmx.net> wrote:
> comparison of 5 runs of the same neural network program:
> using math.h : double *, /, exp() function
> compiled in cmd-session NT4/SP3/PII-350
> for different compilers: w=watcom,m=microsoft,g=gcc,
> (gcc is from www.cygnus.com), b4.5 borland,
> cb4 (=borland cppbuilder v5.4 = V4)
> lcc/win32, w32c=win 32 console
> execute 5 times : (make clean ; make ; + run)
> for each compiler with optimization on/off
>
> Summary
> M6.0 is fastest = 1.62 seconds
> W10.6 32 console = 2.95 seconds (154% of M6.0)
> gcc 2.95.2 = 2.28 seconds (140% of M6.0)
> cppbuilder V4.0 2.90 seconds
>
> Compiler (CFLAGS) Execute(%) Comp/link(%) Count
> size [bytes] min - max min - max
> m5.0 3.41(210.4%) 3.08(146.2%) 5
> 128000 3.13- 3.75 2.73- 3.49
> m6.0 3.09(190.6%) 3.21(152.2%) 5
> 122880 2.92- 3.23 3.03- 3.57
> g2.95.2 3.09(190.7%) 5.93(281.4%) 5
> 96307 3.05- 3.15 5.79- 6.27
> cb4 -Od 3.16(194.8%) 2.77(131.5%) 5
> 133120 2.97- 3.85 2.64- 2.98
> b4.5 -Od 4.12(254.4%) 2.14(101.6%) 5
> 111217 4.05- 4.30 1.39- 2.36
> w10.6/d16 8.54(527.3%) 6.63(314.7%) 5
> 129544 8.22- 9.38 6.58- 6.69
> w10.6/w32c 3.16(194.8%) 8.82(418.5%) 5
> 119451 3.10- 3.27 8.49- 9.73
> w10.6/d32 2.70(166.7%) 5.37(254.6%) 5
> 155409 2.65- 2.72 5.20- 5.60
> lcc 3.37(208.3%) 2.11(100.0%) 5
> 72220 3.15- 3.93 2.02- 2.18
>
>
> Optimization ON
>
>
> m5.0 /Ox /G5 1.95(120.5%) 5.77(273.9%) 5
> 103936 1.89- 2.04 5.65- 6.04
> m6.0 /Ox /G5 1.62(100.0%) 6.32(300.0%) 5
> 94208 1.56- 1.66 5.90- 7.50
> g2.95.2 -O2 2.28(140.9%) 12.65(600.2%) 5
> 75107 2.24- 2.33 12.35-13.11
> cb4 -O2 2.90(179.0%) 3.08(146.0%) 5
> 127488 2.77- 3.04 2.67- 4.57
> b4.5 -O2 4.03(249.0%) 2.52(119.8%) 5
> 114289 3.95- 4.18 2.32- 3.10
> w10.6/d16 -fpi87 -fp5 -ox 7.16(441.7%) 9.13(433.3%) 5
> 128872 7.14- 7.18 8.78- 9.58
> w10.6/w32c -fpi87 -fp5 -ox 2.95(181.8%) 10.75(510.1%) 5
> 119416 2.66- 3.38 10.08-11.94
> w10.6/d32 -fpi87 -fp5 -ox 2.50(154.0%) 6.80(322.8%) 5
> 137357 2.37- 2.75 6.59- 7.13
> lcc -O 2.45(151.3%) 2.24(106.1%) 5
> 63032 2.39- 2.51 2.17- 2.28
>
> --
> Sent through Global Message Exchange - http://www.gmx.net
>
>
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com
>
>
=====
Earnie Boyd <mailto:earnie_boyd@yahoo.com>
Cygwin Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com