For Programmers: Free Programming Magazines  


Home > Archive > Compilers > March 2004 > Performance of various GCC versions.









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Performance of various GCC versions.
Manuel Serrano

2004-03-27, 12:29 am

Hello there,

We are developping a compiler for the Scheme programming language. It
takes Scheme programs in input and produces C programs as output. Most
frequently these C programs are compiled with Gcc.

We have a test suite that we use for measuring the performance of our
compiler on various platforms. Recently we have tried to estimate the
impact of gcc on the overall performance. In particular, we have
compared gcc2.95, gcc3.2, and gcc3.3. Surprisingly we have found that
gcc3.3 is, most of the time, slower than gcc3.2. For all tests we use
the same compilation flags that are
-O3 -fomit-frame-pointer -ffast-math

Is this expected? Is it known that gcc3.3 is slower that gcc3.2? Does
gcc3.3 requires special tuning for best performance? In advance, many
thanks for your help.

--
Manuel Serrano
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com