Benchmarking compiler optimization levels on GCC 4.7.2 from a Google Nexus 10 with Samsung Exynos 5 Dual SoC. It's an ARM Cortex-A15 dual-core 1.7GHz processor. Benchmarking by Michael Larabel for a future article on Phoronix.
Compare your own system(s) to this result file with the
Phoronix Test Suite by running the command:
phoronix-test-suite benchmark 1302284-FO-ARMGCC47227
ARM GCC 4.7.2 Cortex-A15 Compiler Optimizations,
"Opus Codec Encoding 1.0.1 - WAV, Opus Encode, Opus Decode",
Lower Results Are Better
"-O3",46.610750198364,46.677400112152,46.669121026993,46.598810911179,46.654930114746
"-O2",47.73507809639,47.972450017929,47.780163049698,47.802646875381,47.721131801605
"-O1",51.641718864441,51.721462965012,51.388083934784,52.250865936279,52.204433917999
"-O0",163.58436703682,163.69272899628,162.94083881378,163.82798600197,163.11989092827
"-Os",55.825360059738,55.816068887711,55.754014968872,55.804682970047,55.680683135986
"-Ofast",45.741739034653,45.793263912201,45.779976844788,45.650985002518,45.672025203705
"Himeno Benchmark 3.0 - Poisson Pressure Solver",
Higher Results Are Better
"-O3",139.308424,145.457882,139.890774
"-O2",147.126533,144.810805,125.085665,122.8512,148.922998,151.431751
"-O1",106.987528,107.013913,111.701487
"-O0",60.063813,61.00001,60.233893
"-Os",101.413168,103.316132,91.744358,102.967874,101.134978,102.879065
"-Ofast",128.937243,131.70442,127.837381
"Timed PHP Compilation 5.2.9 - Time To Compile",
Lower Results Are Better
"-O3",283.27561497688,286.33365178108,286.62819099426
"-O2",251.34767699242,252.92812490463,254.00889396667
"-O1",189.88425087929,192.15859413147,192.64950084686
"-O0",116.68125796318,117.31735491753,117.52522492409
"-Os",202.3599190712,204.5782828331,205.35130000114
"-Ofast",285.01004099846,286.69627308846,287.85416793823
"Open FMM Nero2D 2.0.2 - Total Time",
Lower Results Are Better
"-O3",2149.0483911037
"-O2",2142.9529750347
"-O1",2300.6977698803
"-O0",7634.2400889397
"-Os",3505.7803549767
"-Ofast",2145.4398419857
"GraphicsMagick 1.3.16 - Operation: Blur",
Higher Results Are Better
"-O3",30,29,30
"-O2",31,32,31
"-O1",30,30,30
"-O0",17,16,16,16
"-Os",29,29,29
"-Ofast",31,31,31
"GraphicsMagick 1.3.16 - Operation: Sharpen",
Higher Results Are Better
"-O3",23,23,22
"-O2",24,23,22,23,22,22
"-O1",20,19,19
"-O0",7,7,7
"-Os",21,20,20
"-Ofast",23,23,22
"GraphicsMagick 1.3.16 - Operation: Resizing",
Higher Results Are Better
"-O3",40,40,40
"-O2",40,40,40
"-O1",37,36,36
"-O0",16,16,16
"-Os",36,36,36
"-Ofast",39,39,39
"GraphicsMagick 1.3.16 - Operation: HWB Color Space",
Higher Results Are Better
"-O3",47,47,47
"-O2",47,47,47
"-O1",47,46,47
"-O0",27,27,27
"-Os",48,48,48
"-Ofast",55,54,57
"GraphicsMagick 1.3.16 - Operation: Local Adaptive Thresholding",
Higher Results Are Better
"-O3",23,22,22
"-O2",23,22,22
"-O1",20,19,19
"-O0",6,6,6
"-Os",19,19,19
"-Ofast",22,22,22
"C-Ray 1.1 - Total Time",
Lower Results Are Better
"-O3",342.633,366.148,337.955,348.759,353.636
"-O2",514.23,548.987,509.087,522.021
"-O1",638.382,625.071,726.841,643.347,641.334,644.034
"-O0",907.855,909.103,912.595
"-Os",589.684,594.275,581.169
"-Ofast",331.195,338.718,328.685
"Smallpt 1.0 - Global Illumination Renderer; 100 Samples",
Lower Results Are Better
"-O3",1305,1293,1292
"-O2",333,324,331
"-O1",363,362,358
"-O0",1438,1372,1355
"-Os",790,783,778
"-Ofast",281,277,278