Author: Robert Hyatt
Date: 08:58:22 08/14/03
Go up one level in this thread
On August 14, 2003 at 04:06:10, martin fierz wrote: >hi, > >i've often been wondering how large the differences between compilers are. does >anybody have or know of a comparison of C compiler .exe speeds for >chess-relevant integer performance? e.g. crafty compiled with different >compilers run on the same machine? > >i'm asking because a fellow checkers programmer has claimed the metroworks >compiler (which i don't know myself) produces much (60%!) faster code than the >microsoft compiler - and i'm kind of sceptic about that. in my experience, the >MS compiler is a bit slower than the intel compiler, but not much (~10%); and >it's a bit faster than GCC, but again not that much (again ~10%). i certainly >always thought of it as a very good compiler. > >any numbers anyone? > >cheers > martin I would take such statements with a grain of salt. I've gotten into those arguments in the past, and they are generally resolved by discovering that the "slower compiler" doesn't optimize by default, while the "faster compiler" does. But once things are compiled _correctly_ I doubt any compiler will _ever_ be 60% faster than MSVC. Nor GCC for that matter. My testing has always had MSVC fastest, Intel next, and GCC last, with about a 10% difference between MSVC/intel and intel/gcc. When I first started crafty on a Sun, Sun's C compiler was about 20% faster than gcc, as a comparison.
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.