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]

VTA compilation speed comparison


Hi!

This is a follow-up to the compile time memory consumption comparison I've
posted on Friday.
As I forgot to note the start wall time in each directory, the wall time
figures don't include the first compiled file (so TRAMP3D isn't included,
being a one testcase only directory) and VARIOUS numbers aren't either,
because I've been compiling that directory in two steps.
Other than wall time the numbers are for TOTAL lines from time-stats {sum,max} *.time_report
scripts, variable tracking lines from that and sum of all other lines.

As can be seen from the numbers, on C and some C++ code VTA has almost no
effect on compile time in passes other than vartrack (which is certainly
slower, more stuff is tracked), for heavily inlined code like tramp3d
VTA is somewhat slower even outside of vartrack pass.

Wall time (difference between mtime of the last file and first file in the
directory):
			-O0-m64	-O0-m32	-O1-m64	-O1-m32	-O2-m64	-O2-m32	-O3-m64	-O3-m32	-Os-m64	-Os-m32
GCC trunk@148582 wall	598	574	913	883	1172	1128	1384	1347	1052	1040
GCC vta@149180   wall	599	565	997	975	1244	1222	1496	1391	1118	1075
vta@149180/trunk@148582	100.17%	98.43%	109.20%	110.42%	106.14%	108.33%	108.09%	103.27%	106.27%	103.37%
FF3D trunk@148582 wall	349	332	471	479	599	603	675	682	445	450
FF3D vta@149180   wall	349	336	514	531	666	683	755	743	470	467
vta@149180/trunk@148582	100.00%	101.20%	109.13%	110.86%	111.19%	113.27%	111.85%	108.94%	105.62%	103.78%
MICO trunk@148582 wall	542	356	669	457	747	528	804	574	661	467
MICO vta@149180   wall	549	358	713	496	805	577	864	600	656	485
vta@149180/trunk@148582	101.29%	100.56%	106.58%	108.53%	107.76%	109.28%	107.46%	104.53%	99.24%	103.85%
SPEC2K trunk@148582wall	170	169	248	248	307	314	386	385	286	294
SPEC2K vta@149180  wall	171	169	263	268	334	336	416	409	249	304
vta@149180/trunk@148582	100.59%	100.00%	106.05%	108.06%	108.79%	107.01%	107.77%	106.23%	87.06%	103.40%
DLV trunk@148582 wall	74	70	106	107	131	133	141	140	91	93
DLV vta@149180   wall	74	71	118	120	146	148	154	156	99	100
vta@149180/trunk@148582	100.00%	101.43%	111.32%	112.15%	111.45%	111.28%	109.22%	111.43%	108.79%	107.53%

TOTAL time (^ TOTAL lines from time-stats {sum,max} *.time_report):
			-O0-m64	-O0-m32	-O1-m64	-O1-m32	-O2-m64	-O2-m32	-O3-m64	-O3-m32	-Os-m64	-Os-m32	
GCC sum gcc@148582	403.80	382.38	700.53	673.51	936.03	898.78	1150.50	1118.36	837.34	825.97
GCC sum vta@149180	402.72	375.63	779.90	760.71	1022.73	1001.32	1258.63	1163.10	904.53	867.20
			99.73%	98.23%	111.33%	112.95%	109.26%	111.41%	109.40%	104.00%	108.02%	104.99%
GCC max gcc@148582	18.73	15.52	62.01	49.53	81.66	66.83	87.85	81.35	85.12	67.60
GCC max vta@149180	19.06	14.61	63.61	53.25	84.92	70.20	101.49	71.17	88.68	70.37
			101.76%	94.14%	102.58%	107.51%	103.99%	105.04%	115.53%	87.49%	104.18%	104.10%
FF3D sum gcc@148582	266.31	251.09	375.34	384.27	493.05	500.32	568.00	576.90	350.51	358.17
FF3D sum vta@149180	266.45	253.73	414.90	432.42	561.99	580.29	643.95	634.90	373.19	375.93
			100.05%	101.05%	110.54%	112.53%	113.98%	115.98%	113.37%	110.05%	106.47%	104.96%
FF3D max gcc@148582	13.37	12.92	25.06	26.98	35.63	36.71	43.63	42.17	24.55	26.06
FF3D max vta@149180	13.36	13.18	29.32	30.88	41.35	42.41	51.48	48.61	28.00	28.52
			99.93%	102.01%	117.00%	114.46%	116.05%	115.53%	117.99%	115.27%	114.05%	109.44%
MICO sum gcc@148582	410.69	268.40	527.87	361.55	602.86	429.43	657.87	474.02	521.99	372.92
MICO sum vta@149180	415.93	270.33	570.76	398.85	661.67	478.53	713.74	499.64	523.19	392.57
			101.28%	100.72%	108.13%	110.32%	109.76%	111.43%	108.49%	105.40%	100.23%	105.27%
MICO max gcc@148582	14.16	13.10	23.77	23.01	32.87	32.99	36.87	36.52	24.31	24.89
MICO max vta@149180	14.73	13.14	26.03	26.83	36.08	35.71	38.81	38.98	24.82	26.13
			104.03%	100.31%	109.51%	116.60%	109.77%	108.24%	105.26%	106.74%	102.10%	104.98%
SPEC2K sum gcc@148582	113.53	111.75	180.40	182.72	242.60	244.81	315.16	314.37	220.52	228.59
SPEC2K sum vta@149180	114.83	111.88	199.14	202.55	267.37	269.40	343.29	338.20	197.20	241.66
			101.15%	100.12%	110.39%	110.85%	110.21%	110.04%	108.93%	107.58%	89.42%	105.72%
SPEC2K max gcc@148582	1.77	1.76	3.36	3.48	5.15	5.20	5.85	6.38	4.60	5.02
SPEC2K max vta@149180	1.76	1.74	3.49	3.61	5.87	5.82	6.47	6.22	4.51	5.12
			99.44%	98.86%	103.87%	103.74%	113.98%	111.92%	110.60%	97.49%	98.04%	101.99%
TRAMP3D sum gcc@148582	24.77	23.91	52.11	50.29	61.78	63.16	74.00	73.30	45.43	47.89
TRAMP3D sum vta@149180	24.71	24.20	61.80	65.22	75.77	78.35	85.32	84.69	44.45	53.30
			99.76%	101.21%	118.60%	129.69%	122.64%	124.05%	115.30%	115.54%	97.84%	111.30%
TRAMP3D max gcc@148582	24.77	23.91	52.11	50.29	61.78	63.16	74.00	73.30	45.43	47.89
TRAMP3D max vta@149180	24.71	24.20	61.80	65.22	75.77	78.35	85.32	84.69	44.45	53.30
			99.76%	101.21%	118.60%	129.69%	122.64%	124.05%	115.30%	115.54%	97.84%	111.30%
DLV sum gcc@148582	59.55	56.10	90.78	91.26	115.14	115.99	124.09	123.88	76.74	78.75
DLV sum vta@149180	59.50	57.24	101.51	104.35	128.85	130.54	137.01	139.67	83.78	85.20
			99.92%	102.03%	111.82%	114.34%	111.91%	112.54%	110.41%	112.75%	109.17%	108.19%
DLV max gcc@148582	7.73	7.10	12.29	12.40	16.66	16.86	18.44	17.70	11.55	12.05
DLV max vta@149180	7.84	7.37	13.79	14.30	19.07	19.37	20.55	19.65	13.22	13.18
			101.42%	103.80%	112.21%	115.32%	114.47%	114.89%	111.44%	111.02%	114.46%	109.38%
VARIOUS sum gcc@148582	60.64	57.54	815.03	702.26	819.78	831.74	937.53	831.58	472.24	569.83
VARIOUS sum vta@149180	61.36	57.60	1610.62	1628.97	3875.97	4244.89	3747.34	4090.31	1789.24	3314.03
			101.19%	100.10%	197.61%	231.96%	472.81%	510.36%	399.70%	491.87%	378.88%	581.58%
VARIOUS max gcc@148582	29.08	27.88	417.68	303.85	474.75	508.20	569.79	484.57	271.31	281.19
VARIOUS max vta@149180	28.61	28.11	948.31	1007.84	2495.82	2826.79	2528.98	2914.26	988.43	2443.03
			98.38%	100.82%	227.04%	331.69%	525.71%	556.24%	443.84%	601.41%	364.32%	868.82%

vartrack time (variable tracking lines from time-stats {sum,max} *.time_report):
			-O0-m64	-O0-m32	-O1-m64	-O1-m32	-O2-m64	-O2-m32	-O3-m64	-O3-m32	-Os-m64	-Os-m32	
GCC sum gcc@148582	0.00	0.00	12.03	10.70	11.88	11.20	14.31	13.06	12.07	13.17
GCC sum vta@149180	0.00	0.00	73.44	73.70	68.71	71.74	89.13	83.78	62.95	62.62
					610.47%	688.79%	578.37%	640.54%	622.85%	641.50%	521.54%	475.47%
GCC max gcc@148582	0.00	0.00	0.98	0.79	1.16	0.90	1.25	1.09	1.47	2.70
GCC max vta@149180	0.00	0.00	3.25	2.74	3.55	2.82	5.63	2.88	4.40	4.18
					331.63%	346.84%	306.03%	313.33%	450.40%	264.22%	299.32%	154.81%
FF3D sum gcc@148582	0.00	0.00	4.80	4.93	4.08	4.45	5.17	5.34	2.62	2.85
FF3D sum vta@149180	0.00	0.00	27.59	35.20	36.22	41.40	40.65	44.93	15.60	18.01
					574.79%	714.00%	887.75%	930.34%	786.27%	841.39%	595.42%	631.93%
FF3D max gcc@148582	0.00	0.00	0.43	0.47	0.40	0.35	0.49	0.50	0.22	0.25
FF3D max vta@149180	0.00	0.00	2.79	3.06	3.19	3.59	3.54	3.71	1.95	2.12
					648.84%	651.06%	797.50%	1025.71%	722.45%	742.00%	886.36%	848.00%
MICO sum gcc@148582	0.00	0.00	4.33	3.40	4.12	3.66	4.39	3.85	3.24	2.56
MICO sum vta@149180	0.00	0.00	40.78	28.59	36.39	28.61	36.87	30.72	22.89	22.38
					941.80%	840.88%	883.25%	781.69%	839.86%	797.92%	706.48%	874.22%
MICO max gcc@148582	0.00	0.00	0.27	0.29	0.33	0.41	0.45	0.43	0.25	0.20
MICO max vta@149180	0.00	0.00	6.80	4.64	6.94	4.58	6.76	4.68	5.32	6.32
					2518.52%	1600.00%	2103.03%	1117.07%	1502.22%	1088.37%	2128.00%	3160.00%
SPEC2K sum gcc@148582	0.00	0.00	2.98	2.94	3.17	3.28	4.33	4.18	3.34	3.35
SPEC2K sum vta@149180	0.00	0.00	17.99	18.54	18.51	18.93	24.18	25.20	15.34	18.67
					603.69%	630.61%	583.91%	577.13%	558.43%	602.87%	459.28%	557.31%
SPEC2K max gcc@148582	0.00	0.00	0.23	0.21	0.19	0.18	0.23	0.24	0.20	0.20
SPEC2K max vta@149180	0.00	0.00	0.50	0.68	0.67	0.72	0.69	0.95	0.53	0.69
					217.39%	323.81%	352.63%	400.00%	300.00%	395.83%	265.00%	345.00%
TRAMP3D sum gcc@148582	0.00	0.00	0.52	0.44	0.55	0.44	0.50	0.51	0.38	0.25
TRAMP3D sum vta@149180	0.00	0.00	5.60	6.90	5.25	6.53	5.40	7.09	2.53	3.60
					1076.92%	1568.18%	954.55%	1484.09%	1080.00%	1390.20%	665.79%	1440.00%
TRAMP3D max gcc@148582	0.00	0.00	0.52	0.44	0.55	0.44	0.50	0.51	0.38	0.25
TRAMP3D max vta@149180	0.00	0.00	5.60	6.90	5.25	6.53	5.40	7.09	2.53	3.60
					1076.92%	1568.18%	954.55%	1484.09%	1080.00%	1390.20%	665.79%	1440.00%
DLV sum gcc@148582	0.00	0.00	1.01	0.95	1.10	1.06	1.09	0.90	0.67	0.77
DLV sum vta@149180	0.00	0.00	7.83	8.65	7.69	8.04	7.90	8.58	4.18	4.30
					775.25%	910.53%	699.09%	758.49%	724.77%	953.33%	623.88%	558.44%
DLV max gcc@148582	0.00	0.00	0.23	0.15	0.22	0.20	0.18	0.13	0.12	0.16
DLV max vta@149180	0.00	0.00	1.17	1.24	1.19	1.27	1.19	1.27	0.86	0.91
					508.70%	826.67%	540.91%	635.00%	661.11%	976.92%	716.67%	568.75%
VARIOUS sum gcc@148582	0.00	0.00	1.72	1.76	1.78	2.21	1.85	2.37	1.53	2.13
VARIOUS sum vta@149180	0.00	0.00	680.29	815.93	2994.61	3402.50	2879.27	3255.08	1287.68	2717.82
					39551.74%	46359.66%	168236.52%	153959.28%	155636.22%	137345.15%	84162.09%	127597.18%
VARIOUS max gcc@148582	0.00	0.00	0.83	0.89	0.63	0.78	0.66	0.90	0.71	0.80
VARIOUS max vta@149180	0.00	0.00	543.26	607.00	2259.76	2630.85	2293.75	2717.79	873.60	2257.78
					65453.01%	68202.25%	358692.06%	337288.46%	347537.88%	301976.67%	123042.25%	282222.50%

other pass time (sum of all lines other than ^ TOTAL and variable tracking
from time-stats {sum,max} *.time_report):
			-O0-m64	-O0-m32	-O1-m64	-O1-m32	-O2-m64	-O2-m32	-O3-m64	-O3-m32	-Os-m64	-Os-m32	
GCC sum gcc@148582	35175.58	35166.85	35469.77	35439.28	35752.04	35715.85	36020.64	35987.61	35588.63	35576.55
GCC sum vta@149180	35173.37	35161.42	35487.63	35460.59	35778.27	35755.01	36055.50	35966.65	35600.99	35564.85
			99.99%	99.98%	100.05%	100.06%	100.07%	100.11%	100.10%	99.94%	100.03%	99.97%
FF3D sum gcc@148582	234.94	226.25	380.43	378.77	519.34	519.33	617.72	617.24	366.83	369.34
FF3D sum vta@149180	235.91	229.25	396.98	395.14	558.91	564.49	659.20	636.58	378.75	371.92
			100.41%	101.33%	104.35%	104.32%	107.62%	108.70%	106.72%	103.13%	103.25%	100.70%
MICO sum gcc@148582	390.13	255.39	539.98	363.21	642.22	453.42	710.54	508.61	540.27	379.71
MICO sum vta@149180	395.42	257.86	546.82	375.28	669.86	479.44	736.59	508.43	521.56	381.22
			101.36%	100.97%	101.27%	103.32%	104.30%	105.74%	103.67%	99.96%	96.54%	100.40%
SPEC2K sum gcc@148582	29160.06	29159.48	29229.34	29230.03	29310.76	29311.53	29400.74	29399.95	29270.23	29277.48
SPEC2K sum vta@149180	29160.94	29159.83	29234.69	29233.19	29320.07	29321.06	29407.84	29404.04	29235.81	29275.63
			100.00%	100.00%	100.02%	100.01%	100.03%	100.03%	100.02%	100.01%	99.88%	99.99%
TRAMP3D sum gcc@148582	19.88	20.03	53.89	52.58	69.28	70.25	85.55	84.69	47.68	49.95
TRAMP3D sum vta@149180	20.20	20.29	59.54	60.99	77.77	80.20	92.37	89.87	44.96	52.71
			101.61%	101.30%	110.48%	115.99%	112.25%	114.16%	107.97%	106.12%	94.30%	105.53%
DLV sum gcc@148582	53.19	51.11	93.53	92.10	124.54	125.26	140.63	139.29	81.63	82.63
DLV sum vta@149180	53.36	52.44	96.98	97.46	132.63	133.79	146.02	148.55	85.77	85.53
			100.32%	102.60%	103.69%	105.82%	106.50%	106.81%	103.83%	106.65%	105.07%	103.51%
VARIOUS sum gcc@148582	45.54	43.56	433.99	339.14	232.73	234.83	257.85	258.51	162.73	188.67
VARIOUS sum vta@149180	46.11	43.25	473.77	376.22	267.80	267.01	289.76	274.64	171.19	206.50
			101.25%	99.29%	109.17%	110.93%	115.07%	113.70%	112.38%	106.24%	105.20%	109.45%

	Jakub


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