This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Compilation performance comparison of gcc3.4.1 and gcc3.5.02004-08-30 on MICO sources
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 31 Aug 2004 12:28:50 +0200 (CEST)
- Subject: Re: Compilation performance comparison of gcc3.4.1 and gcc3.5.02004-08-30 on MICO sources
On Tue, 31 Aug 2004, Paolo Bonzini wrote:
> >>>1) typecode.cc: 40% regression on O1 while 7% speedup on O2
> >>
> >>Can you show us the time report for the 40% regression?
>
> Also for 3.4.1?
Sure!
Execution times (seconds)
garbage collection : 0.79 ( 6%) usr 0.00 ( 0%) sys 0.84 ( 5%) wall
cfg construction : 0.09 ( 1%) usr 0.00 ( 0%) sys 0.11 ( 1%) wall
cfg cleanup : 0.18 ( 1%) usr 0.00 ( 0%) sys 0.16 ( 1%) wall
trivially dead code : 0.10 ( 1%) usr 0.01 ( 0%) sys 0.14 ( 1%) wall
life analysis : 0.80 ( 6%) usr 0.00 ( 0%) sys 0.85 ( 5%) wall
life info update : 0.08 ( 1%) usr 0.00 ( 0%) sys 0.15 ( 1%) wall
alias analysis : 0.16 ( 1%) usr 0.00 ( 0%) sys 0.21 ( 1%) wall
register scan : 0.13 ( 1%) usr 0.00 ( 0%) sys 0.18 ( 1%) wall
rebuild jump labels : 0.07 ( 0%) usr 0.01 ( 0%) sys 0.05 ( 0%) wall
preprocessing : 0.44 ( 3%) usr 0.21 (10%) sys 0.65 ( 4%) wall
parser : 4.41 (31%) usr 0.67 (31%) sys 5.22 (31%) wall
name lookup : 1.61 (11%) usr 1.17 (53%) sys 2.90 (17%) wall
expand : 0.79 ( 6%) usr 0.03 ( 1%) sys 0.78 ( 5%) wall
varconst : 0.04 ( 0%) usr 0.01 ( 0%) sys 0.09 ( 1%) wall
integration : 0.65 ( 5%) usr 0.00 ( 0%) sys 0.67 ( 4%) wall
jump : 0.05 ( 0%) usr 0.02 ( 1%) sys 0.02 ( 0%) wall
CSE : 0.49 ( 3%) usr 0.00 ( 0%) sys 0.46 ( 3%) wall
loop analysis : 0.03 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall
branch prediction : 0.19 ( 1%) usr 0.00 ( 0%) sys 0.16 ( 1%) wall
flow analysis : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.04 ( 0%) wall
combiner : 0.34 ( 2%) usr 0.00 ( 0%) sys 0.42 ( 2%) wall
if-conversion : 0.09 ( 1%) usr 0.00 ( 0%) sys 0.05 ( 0%) wall
mode switching : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
local alloc : 0.34 ( 2%) usr 0.00 ( 0%) sys 0.28 ( 2%) wall
global alloc : 0.91 ( 6%) usr 0.02 ( 1%) sys 0.83 ( 5%) wall
reload CSE regs : 0.18 ( 1%) usr 0.00 ( 0%) sys 0.25 ( 1%) wall
flow 2 : 0.18 ( 1%) usr 0.01 ( 0%) sys 0.12 ( 1%) wall
if-conversion 2 : 0.04 ( 0%) usr 0.00 ( 0%) sys 0.02 ( 0%) wall
rename registers : 0.15 ( 1%) usr 0.00 ( 0%) sys 0.10 ( 1%) wall
machine dep reorg : 0.00 ( 0%) usr 0.00 ( 0%) sys 0.01 ( 0%) wall
shorten branches : 0.16 ( 1%) usr 0.00 ( 0%) sys 0.13 ( 1%) wall
final : 0.28 ( 2%) usr 0.01 ( 0%) sys 0.43 ( 3%) wall
symout : 0.01 ( 0%) usr 0.00 ( 0%) sys 0.03 ( 0%) wall
rest of compilation : 0.42 ( 3%) usr 0.02 ( 1%) sys 0.49 ( 3%) wall
TOTAL : 14.25 2.19 16.89
# cc1plus 14.26 2.21
# as 0.34 0.02
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com