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
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.
-O3:
Processor: ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: Manta, Memory: 2048MB, Disk: 16GB MAG2GA
OS: Ubuntu 12.10, Kernel: 3.4.5-gf68518f (armv7l), Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 2560x1600
-O2:
Processor: ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: Manta, Memory: 2048MB, Disk: 16GB MAG2GA
OS: Ubuntu 12.10, Kernel: 3.4.5-gf68518f (armv7l), Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 2560x1600
-O1:
Processor: ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: Manta, Memory: 2048MB, Disk: 16GB MAG2GA
OS: Ubuntu 12.10, Kernel: 3.4.5-gf68518f (armv7l), Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 2560x1600
-O0:
Processor: ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: Manta, Memory: 2048MB, Disk: 16GB MAG2GA
OS: Ubuntu 12.10, Kernel: 3.4.5-gf68518f (armv7l), Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 2560x1600
-Os:
Processor: ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: Manta, Memory: 2048MB, Disk: 16GB MAG2GA
OS: Ubuntu 12.10, Kernel: 3.4.5-gf68518f (armv7l), Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 2560x1600
-Ofast:
Processor: ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: Manta, Memory: 2048MB, Disk: 16GB MAG2GA
OS: Ubuntu 12.10, Kernel: 3.4.5-gf68518f (armv7l), Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 2560x1600
Opus Codec Encoding 1.0.1
WAV, Opus Encode, Opus Decode
Seconds < Lower Is Better
-O3 .... 46.64 |==================
-O2 .... 47.80 |==================
-O1 .... 51.84 |====================
-O0 .... 163.43 |==============================================================
-Os .... 55.78 |=====================
-Ofast . 45.73 |=================
Himeno Benchmark 3.0
Poisson Pressure Solver
MFLOPS > Higher Is Better
-O3 .... 141.55 |==============================================================
-O2 .... 140.04 |=============================================================
-O1 .... 108.57 |================================================
-O0 .... 60.43 |==========================
-Os .... 100.58 |============================================
-Ofast . 129.49 |=========================================================
Timed PHP Compilation 5.2.9
Time To Compile
Seconds < Lower Is Better
-O3 .... 285.41 |==============================================================
-O2 .... 252.76 |=======================================================
-O1 .... 191.56 |=========================================
-O0 .... 117.17 |=========================
-Os .... 204.10 |============================================
-Ofast . 286.52 |==============================================================
Open FMM Nero2D 2.0.2
Total Time
Seconds < Lower Is Better
-O3 .... 2149.05 |=================
-O2 .... 2142.95 |=================
-O1 .... 2300.70 |==================
-O0 .... 7634.24 |=============================================================
-Os .... 3505.78 |============================
-Ofast . 2145.44 |=================
GraphicsMagick 1.3.16
Operation: Blur
Iterations Per Minute > Higher Is Better
-O3 .... 30 |================================================================
-O2 .... 31 |==================================================================
-O1 .... 30 |================================================================
-O0 .... 16 |==================================
-Os .... 29 |==============================================================
-Ofast . 31 |==================================================================
GraphicsMagick 1.3.16
Operation: Sharpen
Iterations Per Minute > Higher Is Better
-O3 .... 23 |==================================================================
-O2 .... 23 |==================================================================
-O1 .... 19 |=======================================================
-O0 .... 7 |====================
-Os .... 20 |=========================================================
-Ofast . 23 |==================================================================
GraphicsMagick 1.3.16
Operation: Resizing
Iterations Per Minute > Higher Is Better
-O3 .... 40 |==================================================================
-O2 .... 40 |==================================================================
-O1 .... 36 |===========================================================
-O0 .... 16 |==========================
-Os .... 36 |===========================================================
-Ofast . 39 |================================================================
GraphicsMagick 1.3.16
Operation: HWB Color Space
Iterations Per Minute > Higher Is Better
-O3 .... 47 |========================================================
-O2 .... 47 |========================================================
-O1 .... 47 |========================================================
-O0 .... 27 |================================
-Os .... 48 |==========================================================
-Ofast . 55 |==================================================================
GraphicsMagick 1.3.16
Operation: Local Adaptive Thresholding
Iterations Per Minute > Higher Is Better
-O3 .... 22 |==================================================================
-O2 .... 22 |==================================================================
-O1 .... 19 |=========================================================
-O0 .... 6 |==================
-Os .... 19 |=========================================================
-Ofast . 22 |==================================================================
C-Ray 1.1
Total Time
Seconds < Lower Is Better
-O3 .... 349.83 |========================
-O2 .... 523.58 |====================================
-O1 .... 653.17 |=============================================
-O0 .... 909.85 |==============================================================
-Os .... 588.38 |========================================
-Ofast . 332.87 |=======================
Smallpt 1.0
Global Illumination Renderer; 100 Samples
Seconds < Lower Is Better
-O3 .... 1297 |============================================================
-O2 .... 329 |===============
-O1 .... 361 |=================
-O0 .... 1388 |================================================================
-Os .... 784 |====================================
-Ofast . 279 |=============