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]
Other format: [Raw text]

RE: Linux Number Crunching: Benchmarking Compilers and Languages on ia32


> To get the whole story, please read the entire
article.
I read the entire article and decided to see the
results on my Athlon-XP box. So I downloaded the tests
and ran them. GCC did not fair well which surprised
me. Also, I have a program that does Gaussian
elimination where g++ beats the Intel compiler with
the proper optimization setting. So I was surprise how
poorly GCC did in the tests. 

After reviewing the code, I found that all the times
are done using the clock system call. The problem is
clock returns an approximation of the processor time.
The test should use the times system call to determine
how long each function ran.

Thanks

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com


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