This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: Sun compares their compiler tools to GNU tools


Joe Buck wrote:
> 
> ? KAI C++ have better performance than Sun CC (near 30%) and
> ? Sun CC near 30% better gcc,
> 
> Such figures are meaningless.  Better performance on what?
> 

The description of tests is situated on KAI C++ web site.

All tests are published. (You will find it during browsing)

They are writeln with idea of illustrating  optimizations
tehnicues.

> There are cases where KAI C++ will have about 5x the performance of
> either Sun CC or g++, and other cases where the performance is
> exactly the same (KAI does C++ -? C so it is limited by the performance
> of the C compiler you choose, which might be gcc or Sun C).
> 
> There are cases where egcs beats Sun CC and vice versa.  And how
> should we measure the ratio of the vast number of valid C++ programs
> that egcs compiles and Sun does not?

IMHO, it is possible.

The test suite must consists of:

  1. standart implementation of well-known algorithms.
   (for example, map<int,less<int> >::lexicographical_compare in loop)
 
  2. tupical C++ scientific application.
   (LINPACK or blass; or some well known simmulation algorithms)

  3. tupical C++ business application.
   (for example, some CORBA server.)


-- 
    @=                                   
     //RSSH                             
mailto:Ruslan@Shevchenko.Kiev.UA

CORBA in Ukraine & ex-USSR: http://www.corbadev.kiev.ua


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