Author: Ricardo Gibert
Date: 12:21:06 08/05/03
Go up one level in this thread
On August 05, 2003 at 14:16:18, Robert Hyatt wrote: >On August 05, 2003 at 13:02:50, Albert Silver wrote: > >>On August 05, 2003 at 11:15:41, Robert Hyatt wrote: >> >>>On August 05, 2003 at 10:45:41, Ricardo Gibert wrote: >>> >>>>On August 05, 2003 at 09:53:26, Robert Hyatt wrote: >>>> >>>>>On August 05, 2003 at 09:24:07, ERIQ wrote: >>>>> >>>>>>. >>>>> >>>>> >>>>>No. >>>> >>>>I have to disagree. I have performed a number of experiments and found msvc >>>>faster some of the time and gcc faster some of the time. It all depends on a >>>>number of factors that are not completely predictable. >>>> >>>>The experiments consisted of simulataneously dropping CD copies of each compiler >>>>from the roof of my home and observing which CD impacted the ground first. They >>>>never seemed to impact the ground at exactly the same time, but there was no >>>>clear favorite either. >>> >>> >>>:) >> >>Joking aside, how much slower on average is gcc compared to msvc, and more >>importantly what are the final results like between the two? >> >> Albert > > >For me, using an intel xeon processor, gcc is 20-25% behind MSVC. The Intel >compiler is less than 10% slower for me. I can't give numbers for AMD >processors. Well, this just doesn't jive with my results at all! What sort of testing methodology did use? An easy error to make is to hold both CDs horizontally before releasing them. The reason being is that it is very difficult to hold both CDs horizontally exactly right and being off just a little will bias the result. Instead, hold both CDs vertically with the plane of both cds parallel to the wind direction before releasing them. This gave the most consistent results in my experiments. Another issue is, I realized that I knew which CD contained MSVC and which one contained GCC 3.3 and that I could be biasing the timing of my release of each CD to favor the open source (GCC) program over the commercial product (MSVC). I neatly solved the problem by wearing a blindfold and drawing the CDs from my lucky hat (after shaking it vigorously). Naturally, I kept the blindfold on during the release phase of the experiment for the same reason, but I found it very difficult at first to pull the blindfold off in time to observe the impact phase. However, with a little practice, I found I could do it. But the one really important lesson I learned is to remember the next time I perform this experiment, to be sure to remove the blindfold before exiting the roof.
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.