This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
GCC 3.4.0 040114/GCC 3.5-tree-ssa 040120 compilation speed comparison.
- From: Karel Gardas <kgardas at objectsecurity dot com>
- To: GCC Mailing List <gcc at gcc dot gnu dot org>
- Date: Tue, 20 Jan 2004 17:52:12 +0100 (CET)
- Subject: GCC 3.4.0 040114/GCC 3.5-tree-ssa 040120 compilation speed comparison.
Hello,
here is yet another report about compilation speed of tree-ssa against
3.4.0 version. The build time itself doesn't regress, but there are some
files which regress. For more information please read table below. Note:
files come from MICO 2.3.11 mico/orb directory. MICO configured with
--disable-static and then MakeVars file modified to include various
optimization options.
File 340-0O tssa-O0 Delta% 340-O1 tssa-O1 Delta% 340-O2 tssa-O2 Delta% 340-O3 tssa-O3 Delta% 340-Os tssa-Os Delta%
os-unix.cc 5.33 5.98 -10.87 5.57 6.33 -12.01 5.73 6.37 -10.05 5.79 6.67 -13.19 5.65 6.2 -8.87
dii.cc 18.58 19.32 -3.83 20.79 21.32 -2.49 23.09 23.97 -3.67 23.57 24.48 -3.72 23.12 23.55 -1.83
typecode.cc 10.51 12.05 -12.78 14.12 16.85 -16.2 35.16 30.51 15.24 36.2 31.26 15.8 34.82 29.72 17.16
any.cc 7.65 9.09 -15.84 10.72 12.59 -14.85 13.8 15.47 -10.8 14.22 15.92 -10.68 13.44 14.77 -9
codec.cc 6.68 7.65 -12.68 8.51 10 -14.9 10.25 11.9 -13.87 11.22 12.54 -10.53 9.77 11.58 -15.63
buffer.cc 3.94 4.89 -19.43 4.26 5.02 -15.14 4.36 5.2 -16.15 4.53 5.47 -17.18 4.17 5.12 -18.55
context.cc 4.15 5.03 -17.5 4.56 5.41 -15.71 4.77 5.72 -16.61 5 6.11 -18.17 4.69 5.69 -17.57
except.cc 5.67 6.26 -9.42 6.32 6.92 -8.67 7.03 8.07 -12.89 7.57 8.43 -10.2 6.81 7.73 -11.9
dispatch.cc 5.62 6.31 -10.94 6.23 6.85 -9.05 6.19 6.93 -10.68 6.36 7.33 -13.23 6.16 6.91 -10.85
string.cc 3.95 4.89 -19.22 4.21 5.13 -17.93 4.07 4.98 -18.27 4.25 5.27 -19.35 4.08 4.85 -15.88
object.cc 5.81 6.65 -12.63 6.69 7.92 -15.53 7.92 8.59 -7.8 8.32 9.51 -12.51 7.75 8.55 -9.36
address.cc 6.05 6.78 -10.77 7.49 8.49 -11.78 8.06 9.17 -12.1 8.66 9.46 -8.46 7.98 8.58 -6.99
ior.cc 18.27 19.11 -4.4 20.84 22.23 -6.25 22.94 26.69 -14.05 23.61 27.02 -12.62 22.98 23.65 -2.83
orb.cc 23.08 24.78 -6.86 31.75 35.17 -9.72 44.84 42.94 4.42 47.87 41.36 15.74 45.83 39.62 15.67
boa.cc 10.98 12.29 -10.66 13.25 15.81 -16.19 18.65 20.26 -7.95 19.51 24.18 -19.31 18.69 20.28 -7.84
dsi.cc 16.01 16.49 -2.91 16.98 18.22 -6.81 18.49 19.04 -2.89 18.73 19.14 -2.14 18.46 18.79 -1.76
transport.cc 5.25 5.9 -11.02 5.66 6.27 -9.73 5.59 6.32 -11.55 5.69 6.59 -13.66 5.63 6.15 -8.46
t..port/tcp.cc 5.17 5.9 -12.37 5.42 6.14 -11.73 5.56 6.16 -9.74 5.67 6.55 -13.44 5.49 6.16 -10.88
t..port/udp.cc 5.24 5.88 -10.88 5.68 6.32 -10.13 5.84 9.55 -38.85 5.9 6.84 -13.74 5.75 6.48 -11.27
t..port/unix.cc 5.19 5.72 -9.27 5.51 6.11 -9.82 5.46 6.15 -11.22 5.49 6.51 -15.67 5.48 6.07 -9.72
iop.cc 22.42 24.12 -7.05 28.54 31.68 -9.91 35.09 41.38 -15.2 36.39 42.15 -13.67 34.63 40.19 -13.83
util.cc 7.02 7.92 -11.36 8.85 10.23 -13.49 11.44 12.07 -5.22 12.23 12.84 -4.75 11.18 11.71 -4.53
basic_seq.cc 4.32 5.17 -16.44 4.65 5.58 -16.67 4.5 5.44 -17.28 4.62 9.08 -49.12 4.51 8.18 -44.87
fast_array.cc 4.67 5.67 -17.64 5.32 5.78 -7.96 4.71 5.72 -17.66 5.4 6.03 -10.45 4.72 5.67 -16.75
ssl.cc 15.15 15.16 -0.07 15.84 18.45 -14.15 15.06 14.81 1.69 15.09 15.09 0 15.01 14.92 0.6
fixed.cc 4.34 5.3 -18.11 4.75 5.8 -18.1 5.03 5.94 -15.32 6.02 6.79 -11.34 4.87 5.65 -13.81
intercept.cc 15.75 16.17 -2.6 16.96 17.96 -5.57 17.73 23.06 -23.11 17.95 21.64 -17.05 17.52 21.6 -18.89
codeset.cc 6.91 7.81 -11.52 8.49 9.84 -13.72 12.01 13.06 -8.04 12.45 13.54 -8.05 11.76 12.73 -7.62
queue.cc 5.51 6.22 -11.41 5.96 6.56 -9.15 5.86 6.75 -13.19 6.11 9.16 -33.3 5.92 6.71 -11.77
static.cc 26.58 28.51 -6.77 32.03 37.92 -15.53 36.93 43.39 -14.89 41.05 42.2 -2.73 36.37 43.16 -15.73
current.cc 14.84 14.94 -0.67 14.83 14.77 0.41 14.41 14.36 0.35 14.41 18.08 -20.3 14.56 17.35 -16.08
policy_impl.cc 18.8 20.16 -6.75 19.92 24.73 -19.45 24.54 26.9 -8.77 21.75 24.64 -11.73 21.21 23.8 -10.88
service_info.cc 14.63 14.77 -0.95 14.61 14.86 -1.68 14.28 14.37 -0.63 14.33 14.74 -2.78 14.23 17.17 -17.12
ioptypes.cc 16.51 16.77 -1.55 18.01 18.87 -4.56 19.43 23.02 -15.6 19.6 23.56 -16.81 21.61 19.91 8.54
ssliop.cc 14.74 15.05 -2.06 14.91 18.3 -18.52 14.62 14.4 1.53 14.48 14.74 -1.76 14.55 17.27 -15.75
value.cc 16.66 16.93 -1.59 17.84 18.77 -4.95 18.31 21.94 -16.55 18.55 22.18 -16.37 18.29 18.84 -2.92
valuetype.cc 15.88 16.22 -2.1 16.38 16.91 -3.13 16.79 17.18 -2.27 17.44 18.42 -5.32 16.79 20.55 -18.3
v..type_impl.cc 18.64 19.23 -3.07 22.16 23.92 -7.36 23.1 20.65 11.86 20.07 24.58 -18.35 19.64 20.68 -5.03
dynany_impl.cc 11.74 15.12 -22.35 17.39 21.31 -18.4 26.15 31.94 -18.13 27.06 33.01 -18.02 28.92 31.43 -7.99
policy2.cc 14.77 17.86 -17.3 15 15.03 -0.2 14.81 17.54 -15.56 14.79 15.21 -2.76 14.79 18.16 -18.56
tckind.cc 14.87 14.69 1.23 14.58 18.12 -19.54 14.38 14.29 0.63 14.38 14.62 -1.64 14.44 14.33 0.77
orb_excepts.cc 14.89 15.05 -1.06 15.07 14.79 1.89 14.68 14.62 0.41 14.65 17.72 -17.33 14.76 14.54 1.51
policy.cc 14.52 14.86 -2.29 14.78 14.93 -1 14.61 14.47 0.97 14.68 14.93 -1.67 14.55 17.49 -16.81
poa.cc 19.07 19.9 -4.17 24.37 23.64 3.09 25.03 27.64 -9.44 24.2 25.96 -6.78 26.41 25.06 5.39
poa_base.cc 15.95 16.77 -4.89 16.7 20.26 -17.57 18.16 18.77 -3.25 18.18 21.71 -16.26 17.98 21.53 -16.49
poa_impl.cc 23.81 28.66 -16.92 28.09 32.61 -13.86 37.47 40.79 -8.14 36.44 38.95 -6.44 35.23 40.53 -13.08
dynany.cc 15.97 16.58 -3.68 16.65 20.34 -18.14 17.8 18.17 -2.04 17.88 22.29 -19.78 17.72 20.82 -14.89
uni_base64.cc 0.12 0.14 -14.29 0.2 0.23 -13.04 0.27 0.3 -10 0.27 0.31 -12.9 1.53 0.27 466.67
uni_unicode.cc 0.21 0.25 -16 0.29 0.35 -17.14 0.45 0.55 -18.18 0.47 0.56 -16.07 1.19 0.52 128.85
uni_fromuni.cc 0.41 0.55 -25.45 0.61 0.82 -25.61 1.09 1.36 -19.85 1.68 2.19 -23.29 1.16 1.4 -17.14
uni_touni.cc 0.47 0.56 -16.07 0.71 0.86 -17.44 1.19 1.4 -15 2.16 2.07 4.35 1.23 1.34 -8.21
except2.cc 7.47 8.84 -15.5 11.13 12.62 -11.81 13.35 14.54 -8.18 14.06 15.18 -7.38 13.21 13.98 -5.51
pi.cc 17.53 21.15 -17.12 18.53 19.54 -5.17 19.46 23.4 -16.84 19.58 23.79 -17.7 19.36 22.44 -13.73
pi_impl.cc 24.79 27.21 -8.89 31.69 35.44 -10.58 39.06 39.2 -0.36 38.13 39.93 -4.51 39.85 37.62 5.93
typecode_seq.cc 14.99 15.28 -1.9 15.27 15.46 -1.23 15.15 18.32 -17.3 15.28 18.75 -18.51 15.29 19.81 -22.82
timebase.cc 14.44 14.56 -0.82 14.71 17.23 -14.63 14.58 14.64 -0.41 14.51 14.74 -1.56 14.47 14.59 -0.82
ir.cc 53.89 76.48 -29.54 80.16 98.9 -18.95 127.22 148.68 -14.43 126.58 151.34 -16.36 129.06 149.94 -13.93
ir_base.cc 17.64 18.78 -6.07 19.41 23.67 -18 21.36 23.32 -8.4 21.54 26.66 -19.2 21.63 23.07 -6.24
imr.cc 23.93 23.03 3.91 27.56 27.46 0.36 31.53 36.89 -14.53 32.09 35.24 -8.94 31.99 36.46 -12.26
mtdebug.cc 4.61 5.66 -18.55 5.03 5.71 -11.91 4.55 5.42 -16.05 4.65 5.75 -19.13 4.54 5.4 -15.93
Sum 742.59 819.07 -9.34 862.54 969.35 -11.02 1023.99 1124.68 -8.95 1039.36 1161.01 -10.48 1023.43 1117.27 -8.4
Conclusion: tree-ssa has slower startup than 3.4.0 (small files like
uni_*.cc) and also some problems with compiling quite large files (ir.cc).
There is only minority of files on which tree-ssa is faster than 3.4.0.
All builds with tree-ssa are slower than those with 3.4.0 version.
Cheers,
Karel
--
Karel Gardas kgardas@objectsecurity.com
ObjectSecurity Ltd. http://www.objectsecurity.com