This is the mail archive of the gcc-bugs@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]

[Bug regression/35671] GCC 4.4.x vs. 4.2.x performance regression



------- Comment #4 from t dot artem at mailcity dot com  2009-04-18 01:44 -------
Test configuration:

Software: Linux kernel 2.6.28.9 x86, GCC 4.2.4, GCC 4.4.0 RC,
http://www.rarlab.com/rar/unrarsrc-3.8.5.tar.gz

Hardware: AMD64 Dual Core CPU 5600, 1MB x 2 level 2 cache
RAM: DDR2 800MHz 4GB

unrarsrc-3.8.5.tar.gz compiled binary (compilation flags: -march=pentium2 -O2
-ftree-vectorize):

GCC 4.2.4: 180492 bytes
GCC 4.4.0: 196288 bytes

Uncompressing 1GB archive (several hundreds WAV files):

time rar-4.2.4 t -inul archive.rar
real    1m18.413s
user    1m17.758s
sys     0m0.580s

time rar-4.4.0 t -inul archive.rar
real    1m28.021s
user    1m27.344s
sys     0m0.627s

(average results for five runs - disk IO has zero effect, since file resides on
RAM disk).

Summary: 4.4.x binary is 9% larger and produces code which runs 14% slower.


-- 

t dot artem at mailcity dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|minor                       |major
             Status|RESOLVED                    |UNCONFIRMED
      Known to fail|                            |4.4.0 4.3.3
      Known to work|                            |4.2.4
         Resolution|WONTFIX                     |
            Summary|[POSSIBLY NOT A BUG] GCC    |GCC 4.4.x vs. 4.2.x
                   |4.3.0 vs. 4.2.3 observations|performance regression
            Version|4.3.0                       |4.4.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35671


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