From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,6c6aedeaa557029f X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-01-13 21:31:44 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!4.1.16.34!cpk-news-hub1.bbnplanet.com!news.gtei.net!newsfeed1.cidera.com!Cidera!cyclone.tampabay.rr.com!news-post.tampabay.rr.com!typhoon.southeast.rr.com.POSTED!not-for-mail Message-ID: <3C426D27.2010201@_netscape.net> From: bbmarkz User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011126 Netscape6/6.2.1 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.os.linux.alpha Subject: Re: compaq cc / c++ or gcc? References: <3C407280.2030909@MAPSONnetscape.net> <3C40A2BF.9080805@MAPSONnetscape.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 14 Jan 2002 05:30:58 GMT NNTP-Posting-Host: 24.168.197.114 X-Complaints-To: abuse@rr.com X-Trace: typhoon.southeast.rr.com 1010986258 24.168.197.114 (Mon, 14 Jan 2002 00:30:58 EST) NNTP-Posting-Date: Mon, 14 Jan 2002 00:30:58 EST Organization: RoadRunner - Cox Xref: archiver1.google.com comp.os.linux.alpha:4643 Here's gcc-2.96 and Compaq CC 6.4.9 using nbench found here: http://www.tux.org/~mayer/linux/bmark.html. Summary Memory Integer Floating gcc 0.861 0.711 1.017 ccc 0.761 0.783 2.021 (I did not put much effort into this...And I know that posting benchmarks is like playing with matches.) Detail: Machine: Alphastation 250 4/266 OS: Redhat Linux for Alpha 7.1 gcc --version: 2.96 gcc CFLAGS = -s -static -Wall -O3 -fomit-frame-pointer -funroll-loops BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97) TEST : Iterations/sec. : Old Index : New Index : : Pentium 90* : AMD K6/233* --------------------:------------------:-------------:------------ NUMERIC SORT : 86.205 : 2.21 : 0.73 STRING SORT : 11.429 : 5.11 : 0.79 BITFIELD : 2.3537e+07 : 4.04 : 0.84 FP EMULATION : 5.394 : 2.59 : 0.60 FOURIER : 732.74 : 0.83 : 0.47 ASSIGNMENT : 0.97129 : 3.70 : 0.96 IDEA : 164.14 : 2.51 : 0.75 HUFFMAN : 89.247 : 2.47 : 0.79 NEURAL NET : 1.6447 : 2.64 : 1.11 LU DECOMPOSITION : 54.136 : 2.80 : 2.03 ==========================ORIGINAL BYTEMARK RESULTS===================== INTEGER INDEX : 3.093 FLOATING-POINT INDEX: 1.835 Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0 ==============================LINUX DATA BELOW========================== C compiler : gcc version 2.96 20000731 (Red Hat Linux 7.1 2.96-87) libc : unknown version MEMORY INDEX : 0.861 INTEGER INDEX : 0.711 FLOATING-POINT INDEX: 1.017 Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38 * Trademarks are property of their respective holder. ccc CFLAGS = -tune host -arch host -fast BYTEmark* Native Mode Benchmark ver. 2 (10/95) Index-split by Andrew D. Balsa (11/97) Linux/Unix* port by Uwe F. Mayer (12/96,11/97) TEST : Iterations/sec. : Old Index : New Index : : Pentium 90* : AMD K6/233* --------------------:------------------:-------------:------------ NUMERIC SORT : 82.34 : 2.11 : 0.69 STRING SORT : 10.108 : 4.52 : 0.70 BITFIELD : 2.0414e+07 : 3.50 : 0.73 FP EMULATION : 6.913 : 3.32 : 0.77 FOURIER : 3965.1 : 4.51 : 2.53 ASSIGNMENT : 0.87238 : 3.32 : 0.86 IDEA : 154.73 : 2.37 : 0.70 HUFFMAN : 113.97 : 3.16 : 1.01 NEURAL NET : 2.4386 : 3.92 : 1.65 LU DECOMPOSITION : 52.858 : 2.74 : 1.98 ==========================ORIGINAL BYTEMARK RESULTS===================== INTEGER INDEX : 3.100 FLOATING-POINT INDEX: 3.644 Baseline (MSDOS*) : Pentium* 90, 256 KB L2-cache, Watcom* compiler 10.0 ==============================LINUX DATA BELOW========================== C compiler : ccc (unknown version) libc : unknown version MEMORY INDEX : 0.761 INTEGER INDEX : 0.783 FLOATING-POINT INDEX: 2.021 Baseline (LINUX) : AMD K6/233*, 512 KB L2-cache, gcc 2.7.2.3, libc-5.4.38 * Trademarks are property of their respective holder. John Beardmore wrote: > In article , Michael Schulz > writes > >> bbmarkz wrote in >> <3C40A2BF.9080805@MAPSONnetscape.net> following: >> >>> My understanding from the Tru64 side is that Compaq C/C++ produce much >>> faster code than gcc on Tru64....Perhaps someone can comment. >> >> This is the reason why we contributed the c and c++ compilers to linux >> :) Performance. > > > Yes, but how much more performance ? > > Are there any benchmarks out there ? I understood that gcc 3 would be a > lot better than gcc2, but ideally I'd like to benchmarks of gcc 2, gcc3 > and the compaq compiler. > > > Cheers, J/.