GCC 4.8 LTO Link-Time Optimizations Some GCC 4.8 link-time optimization benchmarks for a future article on Phoronix.com. -O3 -march=native: Processor: Intel Core i7-3770K @ 3.50GHz (8 Cores), Motherboard: ECS Z77H2-A2X v1.0, Chipset: Intel Xeon E3-1200 v2/3rd, Memory: 8192MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce GTX 550 Ti 1024MB (405/324MHz), Audio: Realtek ALC892, Monitor: DELL P2210H, Network: Realtek RTL8111/8168B + Intel Centrino Advanced-N 6205 OS: Ubuntu 13.04, Kernel: 3.8.0-4-generic (x86_64), Desktop: Unity 6.6.0, Display Server: X Server 1.13.2, Display Driver: nouveau 1.0.6, OpenGL: 3.0 Mesa 9.0.2 Gallium 0.4, Compiler: GCC 4.8.0 20130121, File-System: ext4, Screen Resolution: 1920x1080 -O3 -march=native -flto: Processor: Intel Core i7-3770K @ 3.50GHz (8 Cores), Motherboard: ECS Z77H2-A2X v1.0, Chipset: Intel Xeon E3-1200 v2/3rd, Memory: 8192MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce GTX 550 Ti 1024MB (405/324MHz), Audio: Realtek ALC892, Monitor: DELL P2210H, Network: Realtek RTL8111/8168B + Intel Centrino Advanced-N 6205 OS: Ubuntu 13.04, Kernel: 3.8.0-4-generic (x86_64), Desktop: Unity 6.6.0, Display Server: X Server 1.13.2, Display Driver: nouveau 1.0.6, OpenGL: 3.0 Mesa 9.0.2 Gallium 0.4, Compiler: GCC 4.8.0 20130121, File-System: ext4, Screen Resolution: 1920x1080 -O3 -march=native -flto -fwhole-program: Processor: Intel Core i7-3770K @ 3.50GHz (8 Cores), Motherboard: ECS Z77H2-A2X v1.0, Chipset: Intel Xeon E3-1200 v2/3rd, Memory: 8192MB, Disk: 60GB OCZ VERTEX2, Graphics: NVIDIA GeForce GTX 550 Ti 1024MB (405/324MHz), Audio: Realtek ALC892, Monitor: DELL P2210H, Network: Realtek RTL8111/8168B + Intel Centrino Advanced-N 6205 OS: Ubuntu 13.04, Kernel: 3.8.0-4-generic (x86_64), Desktop: Unity 6.6.0, Display Server: X Server 1.13.2, Display Driver: nouveau 1.0.6, OpenGL: 3.0 Mesa 9.0.2 Gallium 0.4, Compiler: GCC 4.8.0 20130121, File-System: ext4, Screen Resolution: 1920x1080 BYTE Unix Benchmark 3.6 Computational Test: Dhrystone 2 LPS > Higher Is Better -O3 -march=native ....................... 30148598.83 |=================== -O3 -march=native -flto ................. 37789032.27 |======================== -O3 -march=native -flto -fwhole-program . 37854081.97 |======================== GraphicsMagick 1.3.16 Operation: Blur Iterations Per Minute > Higher Is Better -O3 -march=native ....................... 140 |================================ -O3 -march=native -flto ................. 141 |================================ -O3 -march=native -flto -fwhole-program . 141 |================================ GraphicsMagick 1.3.16 Operation: Sharpen Iterations Per Minute > Higher Is Better -O3 -march=native ....................... 95 |================================= -O3 -march=native -flto ................. 95 |================================= -O3 -march=native -flto -fwhole-program . 96 |================================= GraphicsMagick 1.3.16 Operation: Resizing Iterations Per Minute > Higher Is Better -O3 -march=native ....................... 167 |================================ -O3 -march=native -flto ................. 168 |================================ -O3 -march=native -flto -fwhole-program . 168 |================================ GraphicsMagick 1.3.16 Operation: HWB Color Space Iterations Per Minute > Higher Is Better -O3 -march=native ....................... 196 |=============================== -O3 -march=native -flto ................. 201 |================================ -O3 -march=native -flto -fwhole-program . 202 |================================ GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding Iterations Per Minute > Higher Is Better -O3 -march=native ....................... 118 |================================ -O3 -march=native -flto ................. 118 |================================ -O3 -march=native -flto -fwhole-program . 118 |================================ Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better -O3 -march=native ....................... 1611.10 |========================== -O3 -march=native -flto ................. 1723.20 |============================ -O3 -march=native -flto -fwhole-program . 1675.89 |=========================== Timed PHP Compilation 5.2.9 Time To Compile Seconds < Lower Is Better -O3 -march=native ....................... 43.74 |============= -O3 -march=native -flto ................. 101.34 |============================= -O3 -march=native -flto -fwhole-program . 87.48 |========================= C-Ray 1.1 Total Time Seconds < Lower Is Better -O3 -march=native ....................... 28.15 |============================== -O3 -march=native -flto ................. 28.10 |============================== -O3 -march=native -flto -fwhole-program . 28.11 |============================== Smallpt 1.0 Global Illumination Renderer; 100 Samples Seconds < Lower Is Better -O3 -march=native ....................... 38 |================================= -O3 -march=native -flto ................. 38 |================================= -O3 -march=native -flto -fwhole-program . 38 |================================= Bullet Physics Engine 2.81 Test: Raytests Seconds < Lower Is Better -O3 -march=native ....................... 3.30 |============================== -O3 -march=native -flto ................. 3.38 |=============================== -O3 -march=native -flto -fwhole-program . 3.36 |=============================== Bullet Physics Engine 2.81 Test: 3000 Fall Seconds < Lower Is Better -O3 -march=native ....................... 5.00 |============================ -O3 -march=native -flto ................. 5.46 |=============================== -O3 -march=native -flto -fwhole-program . 5.23 |============================== Bullet Physics Engine 2.81 Test: 1000 Stack Seconds < Lower Is Better -O3 -march=native ....................... 5.88 |========================== -O3 -march=native -flto ................. 7.00 |=============================== -O3 -march=native -flto -fwhole-program . 6.50 |============================= Bullet Physics Engine 2.81 Test: 1000 Convex Seconds < Lower Is Better -O3 -march=native ....................... 5.77 |============================= -O3 -march=native -flto ................. 6.12 |=============================== -O3 -march=native -flto -fwhole-program . 6.03 |=============================== Bullet Physics Engine 2.81 Test: 136 Ragdolls Seconds < Lower Is Better -O3 -march=native ....................... 3.60 |============================ -O3 -march=native -flto ................. 3.94 |=============================== -O3 -march=native -flto -fwhole-program . 3.80 |============================== Bullet Physics Engine 2.81 Test: Prim Trimesh Seconds < Lower Is Better -O3 -march=native ....................... 1.09 |============================== -O3 -march=native -flto ................. 1.13 |=============================== -O3 -march=native -flto -fwhole-program . 1.11 |============================== Bullet Physics Engine 2.81 Test: Convex Trimesh Seconds < Lower Is Better -O3 -march=native ....................... 1.37 |============================== -O3 -march=native -flto ................. 1.43 |=============================== -O3 -march=native -flto -fwhole-program . 1.40 |============================== Opus Codec Encoding 1.0.1 WAV, Opus Encode, Opus Decode Seconds < Lower Is Better -O3 -march=native ....................... 9.00 |=============================== -O3 -march=native -flto ................. 8.89 |=============================== -O3 -march=native -flto -fwhole-program . 8.89 |===============================