Benchmarking of GCC 4.6.3, GCC 4.7.0, LLVM Clang 3.0, and LLVM Clang 3.1 SVN compilers for a future article on Phoronix.com. Compilers built all test binaries with CFLAGS/CXXFLAGS of -O3 -march=native from this Intel Core i7 Clarksfield notebook. Ubuntu 12.04 LTS x86_64 was used with the Linux 3.2 kernel.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1204215-SU-LLVMCLANG23
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks,
"Crafty 23.4 - Elapsed Time",
Lower Results Are Better
"GCC 4.6.3",109.71,110.09,109.84
"GCC 4.7.0",108.35,108.18,108.33
"LLVM-Clang 3.1 SVN",107.72,107.93,107.89
"Minion 0.12 - Benchmark: Bibd",
Lower Results Are Better
"GCC 4.6.3",205.413221,207.410995,207.17552
"GCC 4.7.0",217.18592,217.867679,216.958928
"LLVM-Clang 3.0",223.424323,224.73113,223.438911
"LLVM-Clang 3.1 SVN",218.851875,220.021117,219.881498
"Minion 0.12 - Benchmark: Graceful",
Lower Results Are Better
"GCC 4.6.3",111.306668,111.829909,110.904637
"GCC 4.7.0",121.819775,122.462263,122.947307
"LLVM-Clang 3.0",110.352515,110.404284,110.156085
"LLVM-Clang 3.1 SVN",109.483518,110.094631,110.545993
"Minion 0.12 - Benchmark: Solitaire",
Lower Results Are Better
"GCC 4.6.3",202.324604,203.547987,203.13963
"GCC 4.7.0",211.9551,211.559357,211.188132
"LLVM-Clang 3.0",225.741975,224.708677,224.236714
"LLVM-Clang 3.1 SVN",217.629623,218.779923,217.463161
"Minion 0.12 - Benchmark: Quasigroup",
Lower Results Are Better
"GCC 4.6.3",255.431636,255.766671,256.299016
"GCC 4.7.0",253.08293,253.18675,253.210046
"LLVM-Clang 3.0",277.905763,277.151946,278.003243
"LLVM-Clang 3.1 SVN",262.112447,262.573163,262.819864
"FLAC Audio Encoding 1.2.1 - WAV To FLAC",
Lower Results Are Better
"GCC 4.6.3",9.9394578933716,9.9534521102905,9.9754991531372,9.9989759922028,9.9806709289551
"GCC 4.7.0",9.2880489826202,9.3369078636169,9.2734549045563,9.3672678470612,9.3326880931854
"LLVM-Clang 3.1 SVN",10.817015171051,10.896905183792,10.8614320755,10.807183980942,10.88209104538
"LAME MP3 Encoding 3.99.3 - WAV To MP3",
Lower Results Are Better
"GCC 4.6.3",23.627003908157,23.632655858994,23.437910795212,23.590408086777,23.606235980988
"GCC 4.7.0",23.018131017685,23.143630981445,23.116274118423,23.111032009125,23.10174703598
"LLVM-Clang 3.1 SVN",23.690898180008,23.875910997391,23.745139837265,23.866482973099,23.849738121033
"Timed HMMer Search 2.3.2 - Pfam Database Search",
Lower Results Are Better
"GCC 4.6.3",26.515243053436,26.466044187546,26.578474998474
"GCC 4.7.0",26.615167140961,26.644392967224,26.639245986938
"LLVM-Clang 3.0",33.089653015137,33.006484031677,32.952847003937
"LLVM-Clang 3.1 SVN",32.748104095459,32.537662982941,32.606173992157
"Timed MAFFT Alignment 6.864 - Multiple Sequence Alignment",
Lower Results Are Better
"GCC 4.6.3",13.518545866013,14.578969955444,13.383517980576,13.528460025787,13.561116933823,13.806957960129
"GCC 4.7.0",13.526535987854,13.658970117569,13.60035610199
"LLVM-Clang 3.0",15.915697097778,15.695563077927,16.955244064331,16.009500980377
"LLVM-Clang 3.1 SVN",14.818109989166,14.76615691185,14.601173877716
"Timed MrBayes Analysis 3.1.2 - Primate Phylogeny Analysis",
Lower Results Are Better
"GCC 4.6.3",37.025829076767,37.121141195297,37.049612998962
"GCC 4.7.0",32.25227189064,32.335875034332,32.553212881088
"LLVM-Clang 3.1 SVN",39.820254087448,39.863402843475,40.599278926849
"Himeno Benchmark 3.0 - Poisson Pressure Solver",
Higher Results Are Better
"GCC 4.6.3",1083.933201,1029.38594,1068.442288
"GCC 4.7.0",1147.048821,1140.701965,1141.169809
"LLVM-Clang 3.0",998.960982,996.630522,1013.02185
"LLVM-Clang 3.1 SVN",1070.903991,1040.504999,1048.44774
"FFTE 5.0 - Test: N=64, 1D Complex FFT Routine",
Higher Results Are Better
"GCC 4.6.3",3286.9964915588,3252.2792936377,3289.3063453223
"GCC 4.7.0",3252.74568098,3100.9230654518,3117.1024090425
"LLVM-Clang 3.0",3282.5343508307,3257.2560264655,3270.7724067098
"LLVM-Clang 3.1 SVN",3204.2112486914,3142.8716060515,3245.9668781418
"Open64 5.0",3257.7120766011,3265.0734467334,3280.6515938999
"7-Zip Compression 9.20.1 - Compress Speed Test",
Higher Results Are Better
"GCC 4.6.3",8969,8834,8745
"GCC 4.7.0",8926,8939,8805
"LLVM-Clang 3.0",9120,9119,9085
"LLVM-Clang 3.1 SVN",9181,9160,9157
"John The Ripper 1.7.9 - Test: Blowfish",
Higher Results Are Better
"GCC 4.6.3",2213,2213,2218
"GCC 4.7.0",2213,2213,2208
"LLVM-Clang 3.1 SVN",665,661,660
"Timed PHP Compilation 5.2.9 - Time To Compile",
Lower Results Are Better
"GCC 4.6.3",50.288996934891,50.441462993622,50.531418085098
"GCC 4.7.0",54.645393848419,54.7980260849,54.762711048126
"LLVM-Clang 3.1 SVN",47.604744911194,47.386266946793,47.467491149902
"Parallel BZIP2 Compression 1.0.5 - 256MB File Compression",
Lower Results Are Better
"GCC 4.6.3",19.430817127228,19.316334962845,19.267549991608
"GCC 4.7.0",22.361886978149,22.262155056,22.264589071274
"LLVM-Clang 3.1 SVN",23.271254062653,23.176979064941,23.174411058426
"Open FMM Nero2D 2.0.2 - Total Time",
Lower Results Are Better
"GCC 4.6.3",640.17438602448
"GCC 4.7.0",638.59977602959
"VP8 libvpx Encoding 0.9.7-p1 - vpxenc",
Higher Results Are Better
"GCC 4.6.3",9.75,10.01,10.04
"GCC 4.7.0",9.63,9.83,9.83
"LLVM-Clang 3.1 SVN",8.97,9.16,9.09
"Tachyon 0.98.9 - Total Time",
Lower Results Are Better
"GCC 4.6.3",36.0348,36.0853,36.0296
"GCC 4.7.0",37.1849,37.2209,37.2383
"LLVM-Clang 3.1 SVN",36.2038,36.1427,36.1595
"x264 2011-12-06 - H.264 Video Encoding",
Higher Results Are Better
"GCC 4.6.3",58.35,58.51,58.51
"GCC 4.7.0",58.18,58.1,58.49
"C-Ray 1.1 - Total Time",
Lower Results Are Better
"GCC 4.6.3",110.597,120.927,135.964,134.456,198.017,134.073
"GCC 4.7.0",97.646,90.875,87.231,82.852,102.158,86.336
"LLVM-Clang 3.0",119.848,110.868,112.225,109.152,128.148,128.931
"LLVM-Clang 3.1 SVN",104.022,125.154,114.131,100.176,114.414,96.735
"TTSIOD 3D Renderer 2.2w - Phong Rendering With Soft-Shadow Mapping",
Higher Results Are Better
"GCC 4.6.3",63.3168,63.2495,63.3987
"GCC 4.7.0",59.7329,59.4085,59.3458
"FFmpeg 0.10 - AVI To NTSC VCD",
Lower Results Are Better
"GCC 4.6.3",15.850072860718,15.85356593132,15.89293885231
"GCC 4.7.0",15.682356119156,15.745218992233,15.764138936996
"LLVM-Clang 3.1 SVN",16.077848911285,16.088729858398,16.10117316246
"Smallpt 1.0 - Global Illumination Renderer; 100 Samples",
Lower Results Are Better
"GCC 4.6.3",69,69,69
"GCC 4.7.0",68,68,68
"LLVM-Clang 3.0",234,233,234
"LLVM-Clang 3.1 SVN",250,252,252
"NGINX Benchmark 1.0.11 - Static Web Page Serving",
Higher Results Are Better
"GCC 4.6.3",15339.22,15461.5,15645.52
"GCC 4.7.0",14978.11,14852.52,15038.26
"LLVM-Clang 3.0",15245.02,15552.12,15882.73
"LLVM-Clang 3.1 SVN",15821.57,15979.76,15500.29
"Apache Benchmark 2.2.21 - Static Web Page Serving",
Higher Results Are Better
"GCC 4.6.3",14297.57,14263.09,14312.3
"GCC 4.7.0",14422.1,14328.2,14215.84
"LLVM-Clang 3.0",14990.33,14792.67,14818.29
"LLVM-Clang 3.1 SVN",15017.56,14906.3,14580.12
"OpenSSL 1.0.0e - RSA 4096-bit Performance",
Higher Results Are Better
"GCC 4.6.3",42.4,42,42.1,42.4
"GCC 4.7.0",42.1,42.1,42,42.1
"LLVM-Clang 3.1 SVN",42.1,42,42,42.2
"PostgreSQL pgbench 8.4.11 - TPC-B Transactions Per Second",
Higher Results Are Better
"GCC 4.6.3",2350.777677,2385.658779,2389.102206
"GCC 4.7.0",2389.651209,2401.644406,2426.437051
"LLVM-Clang 3.1 SVN",2406.285,2460.081816,2414.364819
"BYTE Unix Benchmark 3.6 - Computational Test: Dhrystone 2",
Higher Results Are Better
"GCC 4.6.3",18809869.1,18715602.7,18688412
"GCC 4.7.0",18051997.8,18100640.6,18073922.1
"Fhourstones 3.1 - Complex Connect-4 Solving",
Higher Results Are Better
"GCC 4.6.3",8636.3,8685.2,8608.7
"GCC 4.7.0",8640.1,8622.4,8631.8
"LLVM-Clang 3.1 SVN",8555.3,8541.5,8558.9
"GMPbench 0.2 - Total Time",
Higher Results Are Better
"GCC 4.6.3",
"GCC 4.7.0",