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]

Compilation performance comparison of GCC 3.4.2 and GCC 4.0.0 (041228)on MICO sources


Hello,

last comparison is here: http://gcc.gnu.org/ml/gcc/2004-11/msg01157.html
I've redone it for 4.0.0 20041228 compiler and whole table is below. The
current compiler is again (_big_ thanks for that!) faster than its
predecessor but still there are some regression with the most famous ir.cc
(Folks, if you manage to fix this, then 4.0.0 would really rocks! :-)

-O0: ir.cc (~20% -- down from 30% of last month)

-O1: typecode (~8% (previous 23%)), static.cc (~10% (previous 18%)),
     dynany_impl.cc (~8% (previous 18%)), pi_impl.cc (~8% (previous 14%)),
     ir.cc (~29% (previous 38%))

-O2: basic_seq.cc (~5% (previous 7%)), static.cc (~17% (previous 24%)),
     pi_impl.cc (~7% (previous 13%)), ir.cc (~26% (previous 34%))

Anyway, overall speedup of ~35% (-O0), ~10% (-O1) and ~9% (-O2) in
comparison with 3.4.2 looks really, really good!

Thanks for your hard work on compilation performance!

Karel
--
Karel Gardas                  kgardas@objectsecurity.com
ObjectSecurity Ltd.           http://www.objectsecurity.com

File		342-O0	400-O0	Delta%	342-O1	400-O1	Delta%	342-O2	400-O2	Delta%

os-unix.cc	4.17	3.14	32.8	4.61	3.58	28.77	4.62	3.89	18.77
dii.cc		12.36	8.2	50.73	14.06	12.79	9.93	16.8	15.82	6.19
typecode.cc	9.09	7.18	26.6	13.53	14.77	-8.4	32.95	20.38	61.68
any.cc		6.88	5.25	31.05	9.41	9.91	-5.05	13.38	12.93	3.48
codec.cc	5.92	4.44	33.33	7.76	7.47	3.88	9.56	9.61	-0.52
buffer.cc	3.32	2.55	30.2	3.59	2.83	26.86	3.72	3.12	19.23
context.cc	3.61	2.76	30.8	3.91	3.7	5.68	4.24	4.27	-0.7
except.cc	4.46	3.28	35.98	5.05	4.34	16.36	6.22	5.42	14.76
dispatch.cc	4.51	3.35	34.63	4.92	4.06	21.18	4.97	4.56	8.99
string.cc	3.41	2.54	34.25	3.52	2.74	28.47	3.44	2.8	22.86
object.cc	4.71	3.68	27.99	6.02	5.26	14.45	7.2	6.07	18.62
address.cc	5.3	3.74	41.71	6.54	4.75	37.68	7.39	5.31	39.17
ior.cc		12.12	7.78	55.78	14.63	10.23	43.01	16.83	11.76	43.11
orb.cc		16.51	11.3	46.11	25.68	20.42	25.76	37.77	26.79	40.99
boa.cc		8.73	6.45	35.35	11.94	10.66	12.01	14.55	13.5	7.78
dsi.cc		9.91	6.61	49.92	11.53	8.61	33.91	12.41	10.01	23.98
transport.cc	4.09	3.01	35.88	4.44	3.39	30.97	4.6	3.64	26.37
t..port/tcp.cc	4.11	2.98	37.92	4.37	3.47	25.94	4.45	3.85	15.58
t..port/udp.cc	4.19	3.07	36.48	4.5	3.6	25	4.77	4.05	17.78
t..port/unix.cc	4.06	2.98	36.24	4.41	3.38	30.47	4.42	3.75	17.87
iop.cc		16.03	10.78	48.7	22.13	21	5.38	29.44	28.01	5.11
util.cc		6	4.48	33.93	8.02	6.94	15.56	10.29	8.55	20.35
basic_seq.cc	3.84	3.08	24.68	4	3.61	10.8	3.9	4.11	-5.11
fast_array.cc	3.92	2.81	39.5	4.04	2.93	37.88	3.92	3.02	29.8
ssl.cc		8.95	5.51	62.43	9.12	5.55	64.32	8.67	5.56	55.94
fixed.cc	3.75	2.94	27.55	4.16	3.6	15.56	4.31	4.08	5.64
intercept.cc	9.86	6.7	47.16	11.44	8.81	29.85	12.15	10.33	17.62
codeset.cc	5.95	4.42	34.62	7.47	7.14	4.62	10.16	9.38	8.32
queue.cc	4.4	3.35	31.34	4.73	3.65	29.59	4.8	3.95	21.52
static.cc	19.93	14.78	34.84	24.6	27.24	-9.69	29.24	35.21	-16.96
current.cc	8.54	5.27	62.05	8.64	5.4	60	8.39	5.39	55.66
policy_impl.cc	12.37	8.11	52.53	13.68	10.82	26.43	15.35	12.61	21.73
service_info.cc	8.53	5.24	62.79	8.58	5.36	60.07	8.26	5.28	56.44
ioptypes.cc	10.32	6.99	47.64	12.44	8.8	41.36	13.51	10.06	34.29
ssliop.cc	8.7	5.42	60.52	8.91	5.41	64.7	8.54	5.49	55.56
value.cc	10.93	6.73	62.41	11.8	8.13	45.14	12.39	9.27	33.66
valuetype.cc	9.51	6.21	53.14	10.34	7.83	32.06	10.99	8.62	27.49
v..type_impl.cc	12.13	8.4	44.4	12.81	10.84	18.17	13.6	12.92	5.26
dynany_impl.cc	10.71	8.52	25.7	16.2	17.7	-8.47	24.22	23.47	3.2
policy2.cc	8.84	5.44	62.5	8.95	5.68	57.57	8.79	5.72	53.67
tckind.cc	8.54	5.21	63.92	8.56	5.29	61.81	8.28	5.29	56.52
orb_excepts.cc	8.63	5.34	61.61	8.85	5.56	59.17	8.62	5.65	52.57
policy.cc	8.61	5.33	61.54	8.83	5.46	61.72	8.59	5.7	50.7
poa.cc		12.62	8.43	49.7	15.02	12.65	18.74	17.66	16.23	8.81
poa_base.cc	9.85	6.61	49.02	10.63	7.93	34.05	11.47	8.86	29.46
poa_impl.cc	17.24	12.07	42.83	22.86	21.81	4.81	30.02	28.01	7.18
dynany.cc	9.91	6.56	51.07	10.7	7.94	34.76	11.63	8.98	29.51
uni_base64.cc	0.12	0.11	9.09	0.18	0.19	-5.26	0.26	0.26	0
uni_unicode.cc	0.2	0.18	11.11	0.29	0.31	-6.45	0.44	0.43	2.33
uni_fromuni.cc	0.4	0.34	17.65	0.61	0.7	-12.86	1.13	1.16	-2.59
uni_touni.cc	0.44	0.38	15.79	0.71	0.87	-18.39	1.26	1.26	0
except2.cc	6.69	5.28	26.7	10.41	10.81	-3.7	13.32	14.14	-5.8
pi.cc		11.11	7.11	56.26	12.51	9.55	30.99	13.29	11.14	19.3
pi_impl.cc	18.77	13.34	40.7	23.55	25.54	-7.79	30.82	33.05	-6.75
typecode_seq.cc	8.88	5.66	56.89	9.31	6.37	46.15	9.18	6.77	35.6
timebase.cc	8.56	5.23	63.67	8.78	5.34	64.42	8.5	5.41	57.12
ir.cc		47.17	58.7	-19.64	72.42	101.47	-28.63	100.1	136.01	-26.4
ir_base.cc	11.59	7.64	51.7	13.29	11.26	18.03	15.63	13.63	14.67
imr.cc		14.37	10.31	39.38	18.38	17.95	2.4	25.2	23.02	9.47
mtdebug.cc	3.82	2.8	36.43	3.9	2.85	36.84	3.78	2.84	33.1

Sum		522.19	386.1	35.25	636.27	576.25	10.42	774.39	710.4	9.01



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