GCC 12 Threadripper Compiler Optimization Benchmarks GCC 12 compiler optimization benchmarks by Michael Larabel for a future article. -O0: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -Og: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O1: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O2: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O3: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -Ofast: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O2 -march=native: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O3 -march=native: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -Ofast -march=native: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O2 -march=native -flto: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -O3 -march=native -flto: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 -Ofast -march=native -flto: Processor: AMD Ryzen Threadripper 3990X 64-Core @ 2.90GHz (64 Cores / 128 Threads), Motherboard: Gigabyte TRX40 AORUS PRO WIFI (F4p BIOS), Chipset: AMD Starship/Matisse, Memory: 128GB, Disk: Samsung SSD 970 EVO Plus 500GB, Graphics: AMD Radeon RX 5700 8GB (1750/875MHz), Audio: AMD Navi 10 HDMI Audio, Monitor: DELL P2415Q, Network: Intel I211 + Intel Wi-Fi 6 AX200 OS: Fedora Linux 36, Kernel: 5.18.5-200.fc36.x86_64 (x86_64), Desktop: GNOME Shell 42.2, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 22.1.2 (LLVM 14.0.0 DRM 3.46), Compiler: GCC 12.1.1 20220507, File-System: btrfs, Screen Resolution: 3840x2160 OpenSSL 3.0 Algorithm: SHA256 byte/s > Higher Is Better -O0 ........................ 48434976950 |========================= -Og ........................ 54466580701 |============================ -O1 ........................ 55519698378 |============================ -O2 ........................ 61415968354 |=============================== -O3 ........................ 62124051715 |================================ -Ofast ..................... 68775242080 |=================================== -O2 -march=native .......... 60962569434 |=============================== -O3 -march=native .......... 61714518491 |=============================== -Ofast -march=native ....... 66839148743 |================================== -O2 -march=native -flto .... 61148269838 |=============================== -O3 -march=native -flto .... 64669076868 |================================= -Ofast -march=native -flto . 72577895858 |===================================== Sysbench 1.0.20 Test: CPU Events Per Second > Higher Is Better -O0 ........................ 107531.05 |================================= -Og ........................ 113410.39 |=================================== -O1 ........................ 125510.27 |======================================= -O2 ........................ 124842.47 |======================================= -O3 ........................ 124036.15 |====================================== -Ofast ..................... 124953.00 |======================================= -O2 -march=native .......... 125644.65 |======================================= -O3 -march=native .......... 125172.18 |======================================= -Ofast -march=native ....... 126000.65 |======================================= -O2 -march=native -flto .... 125628.33 |======================================= -O3 -march=native -flto .... 125743.00 |======================================= -Ofast -march=native -flto . 126192.04 |======================================= dav1d 1.0 Video Input: Chimera 1080p FPS > Higher Is Better -O0 ........................ 235.71 |========================== -Og ........................ 349.05 |====================================== -O1 ........................ 378.88 |========================================= -O2 ........................ 381.59 |========================================== -O3 ........................ 378.08 |========================================= -Ofast ..................... 378.61 |========================================= -O2 -march=native .......... 383.64 |========================================== -O3 -march=native .......... 374.60 |========================================= -Ofast -march=native ....... 380.37 |========================================== dav1d 1.0 Video Input: Summer Nature 4K FPS > Higher Is Better -O0 ........................ 137.19 |============================ -Og ........................ 189.20 |======================================= -O1 ........................ 198.65 |========================================= -O2 ........................ 200.36 |========================================= -O3 ........................ 201.43 |========================================== -Ofast ..................... 201.94 |========================================== -O2 -march=native .......... 201.00 |========================================== -O3 -march=native .......... 200.48 |========================================== -Ofast -march=native ....... 202.82 |========================================== dav1d 1.0 Video Input: Summer Nature 1080p FPS > Higher Is Better -O0 ........................ 314.02 |============================= -Og ........................ 427.86 |======================================= -O1 ........................ 430.67 |======================================= -O2 ........................ 444.98 |======================================== -O3 ........................ 455.45 |========================================= -Ofast ..................... 455.99 |========================================= -O2 -march=native .......... 447.97 |========================================= -O3 -march=native .......... 458.98 |========================================== -Ofast -march=native ....... 461.62 |========================================== dav1d 1.0 Video Input: Chimera 1080p 10-bit FPS > Higher Is Better -O0 ........................ 224.18 |=========================== -Og ........................ 324.48 |====================================== -O1 ........................ 349.37 |========================================= -O2 ........................ 351.90 |========================================== -O3 ........................ 350.35 |========================================== -Ofast ..................... 350.01 |========================================= -O2 -march=native .......... 354.49 |========================================== -O3 -march=native .......... 346.48 |========================================= -Ofast -march=native ....... 351.55 |========================================== yquake2 8.10 Renderer: Software CPU - AF: On - MSAA: On - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 45.8 |================= -Og ........................ 92.0 |================================== -O1 ........................ 104.5 |====================================== -O2 ........................ 104.7 |======================================= -O3 ........................ 108.4 |======================================== -Ofast ..................... 111.6 |========================================= -O2 -march=native .......... 106.5 |======================================= -O3 -march=native .......... 111.7 |========================================= -Ofast -march=native ....... 111.7 |========================================= -O2 -march=native -flto .... 107.1 |======================================= -O3 -march=native -flto .... 116.8 |=========================================== -Ofast -march=native -flto . 116.8 |=========================================== yquake2 8.10 Renderer: Software CPU - AF: On - MSAA: On - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 13.2 |================= -Og ........................ 27.8 |=================================== -O1 ........................ 32.0 |======================================== -O2 ........................ 31.6 |======================================== -O3 ........................ 32.4 |========================================= -Ofast ..................... 33.4 |========================================== -O2 -march=native .......... 32.1 |======================================== -O3 -march=native .......... 33.7 |========================================== -Ofast -march=native ....... 33.4 |========================================== -O2 -march=native -flto .... 32.0 |======================================== -O3 -march=native -flto .... 34.8 |============================================ -Ofast -march=native -flto . 34.9 |============================================ yquake2 8.10 Renderer: Software CPU - AF: Off - MSAA: On - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 46.6 |================= -Og ........................ 93.5 |================================= -O1 ........................ 107.0 |====================================== -O2 ........................ 107.7 |====================================== -O3 ........................ 111.1 |======================================== -Ofast ..................... 114.4 |========================================= -O2 -march=native .......... 110.6 |======================================= -O3 -march=native .......... 114.6 |========================================= -Ofast -march=native ....... 114.2 |========================================= -O2 -march=native -flto .... 110.0 |======================================= -O3 -march=native -flto .... 120.8 |=========================================== -Ofast -march=native -flto . 118.0 |========================================== yquake2 8.10 Renderer: Software CPU - AF: Off - MSAA: On - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 13.4 |================= -Og ........................ 28.5 |=================================== -O1 ........................ 32.8 |========================================= -O2 ........................ 32.4 |======================================== -O3 ........................ 33.1 |========================================= -Ofast ..................... 34.2 |========================================== -O2 -march=native .......... 33.1 |========================================= -O3 -march=native .......... 34.6 |=========================================== -Ofast -march=native ....... 34.0 |========================================== -O2 -march=native -flto .... 32.9 |========================================= -O3 -march=native -flto .... 35.3 |============================================ -Ofast -march=native -flto . 35.5 |============================================ yquake2 8.10 Renderer: Software CPU - AF: On - MSAA: Off - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 45.8 |================= -Og ........................ 91.3 |================================== -O1 ........................ 105.4 |======================================= -O2 ........................ 104.9 |======================================= -O3 ........................ 108.3 |======================================== -Ofast ..................... 111.8 |========================================= -O2 -march=native .......... 106.8 |======================================= -O3 -march=native .......... 112.7 |========================================= -Ofast -march=native ....... 111.3 |========================================= -O2 -march=native -flto .... 106.2 |======================================= -O3 -march=native -flto .... 115.4 |========================================== -Ofast -march=native -flto . 116.9 |=========================================== yquake2 8.10 Renderer: Software CPU - AF: On - MSAA: Off - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 13.2 |================= -Og ........................ 27.7 |=================================== -O1 ........................ 31.9 |========================================= -O2 ........................ 31.5 |======================================== -O3 ........................ 32.4 |========================================= -Ofast ..................... 33.3 |========================================== -O2 -march=native .......... 32.1 |========================================= -O3 -march=native .......... 33.8 |=========================================== -Ofast -march=native ....... 33.3 |========================================== -O2 -march=native -flto .... 31.9 |========================================= -O3 -march=native -flto .... 34.5 |============================================ -Ofast -march=native -flto . 34.6 |============================================ yquake2 8.10 Renderer: Software CPU - AF: Off - MSAA: Off - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 46.7 |================= -Og ........................ 94.5 |================================== -O1 ........................ 107.7 |====================================== -O2 ........................ 107.9 |======================================= -O3 ........................ 111.1 |======================================== -Ofast ..................... 113.5 |========================================= -O2 -march=native .......... 110.5 |======================================= -O3 -march=native .......... 115.2 |========================================= -Ofast -march=native ....... 114.1 |========================================= -O2 -march=native -flto .... 109.9 |======================================= -O3 -march=native -flto .... 120.0 |=========================================== -Ofast -march=native -flto . 120.4 |=========================================== yquake2 8.10 Renderer: Software CPU - AF: Off - MSAA: Off - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 13.5 |================= -Og ........................ 28.4 |=================================== -O1 ........................ 32.8 |========================================= -O2 ........................ 32.4 |======================================== -O3 ........................ 33.1 |========================================= -Ofast ..................... 34.2 |=========================================== -O2 -march=native .......... 33.1 |========================================= -O3 -march=native .......... 34.4 |=========================================== -Ofast -march=native ....... 34.2 |=========================================== -O2 -march=native -flto .... 33.0 |========================================= -O3 -march=native -flto .... 35.3 |============================================ -Ofast -march=native -flto . 35.4 |============================================ yquake2 8.10 Renderer: Software CPU Color Light - AF: On - MSAA: On - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 40.2 |================ -Og ........................ 83.0 |================================= -O1 ........................ 95.8 |====================================== -O2 ........................ 96.1 |====================================== -O3 ........................ 99.3 |======================================= -Ofast ..................... 101.4 |======================================== -O2 -march=native .......... 97.4 |====================================== -O3 -march=native .......... 103.2 |========================================= -Ofast -march=native ....... 102.7 |========================================= -O2 -march=native -flto .... 99.1 |======================================= -O3 -march=native -flto .... 108.3 |=========================================== -Ofast -march=native -flto . 108.9 |=========================================== yquake2 8.10 Renderer: Software CPU Color Light - AF: On - MSAA: On - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 12.1 |================ -Og ........................ 25.9 |=================================== -O1 ........................ 30.1 |======================================== -O2 ........................ 29.9 |======================================== -O3 ........................ 30.5 |========================================= -Ofast ..................... 31.5 |========================================== -O2 -march=native .......... 30.5 |========================================= -O3 -march=native .......... 31.8 |=========================================== -Ofast -march=native ....... 31.6 |========================================== -O2 -march=native -flto .... 30.5 |========================================= -O3 -march=native -flto .... 32.9 |============================================ -Ofast -march=native -flto . 32.8 |============================================ yquake2 8.10 Renderer: Software CPU Color Light - AF: Off - MSAA: On - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 40.7 |================ -Og ........................ 85.0 |================================= -O1 ........................ 97.6 |====================================== -O2 ........................ 98.6 |====================================== -O3 ........................ 101.6 |======================================== -Ofast ..................... 103.7 |======================================== -O2 -march=native .......... 99.8 |======================================= -O3 -march=native .......... 105.0 |========================================= -Ofast -march=native ....... 104.9 |========================================= -O2 -march=native -flto .... 101.6 |======================================== -O3 -march=native -flto .... 110.4 |=========================================== -Ofast -march=native -flto . 110.0 |=========================================== yquake2 8.10 Renderer: Software CPU Color Light - AF: Off - MSAA: On - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 12.4 |================ -Og ........................ 26.5 |=================================== -O1 ........................ 30.9 |========================================= -O2 ........................ 30.5 |======================================== -O3 ........................ 31.1 |========================================= -Ofast ..................... 32.1 |========================================== -O2 -march=native .......... 31.3 |========================================= -O3 -march=native .......... 32.4 |=========================================== -Ofast -march=native ....... 32.3 |========================================== -O2 -march=native -flto .... 31.3 |========================================= -O3 -march=native -flto .... 33.4 |============================================ -Ofast -march=native -flto . 33.5 |============================================ yquake2 8.10 Renderer: Software CPU Color Light - AF: On - MSAA: Off - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 40.4 |================ -Og ........................ 83.2 |================================= -O1 ........................ 96.2 |====================================== -O2 ........................ 96.6 |====================================== -O3 ........................ 99.4 |======================================= -Ofast ..................... 101.9 |======================================== -O2 -march=native .......... 97.8 |======================================= -O3 -march=native .......... 103.5 |========================================= -Ofast -march=native ....... 102.5 |========================================= -O2 -march=native -flto .... 98.6 |======================================= -O3 -march=native -flto .... 108.1 |=========================================== -Ofast -march=native -flto . 108.7 |=========================================== yquake2 8.10 Renderer: Software CPU Color Light - AF: On - MSAA: Off - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 12.2 |================ -Og ........................ 25.9 |=================================== -O1 ........................ 29.9 |======================================== -O2 ........................ 30.0 |======================================== -O3 ........................ 30.4 |========================================= -Ofast ..................... 31.5 |========================================== -O2 -march=native .......... 30.6 |========================================= -O3 -march=native .......... 31.8 |=========================================== -Ofast -march=native ....... 31.6 |========================================== -O2 -march=native -flto .... 30.5 |========================================= -O3 -march=native -flto .... 32.8 |============================================ -Ofast -march=native -flto . 32.9 |============================================ yquake2 8.10 Renderer: Software CPU Color Light - AF: Off - MSAA: Off - Resolution: 1920 x 1080 Frames Per Second > Higher Is Better -O0 ........................ 40.9 |================ -Og ........................ 85.1 |================================= -O1 ........................ 98.3 |====================================== -O2 ........................ 98.6 |====================================== -O3 ........................ 101.3 |======================================= -Ofast ..................... 104.7 |========================================= -O2 -march=native .......... 100.3 |======================================= -O3 -march=native .......... 105.0 |========================================= -Ofast -march=native ....... 104.8 |========================================= -O2 -march=native -flto .... 101.2 |======================================= -O3 -march=native -flto .... 111.1 |=========================================== -Ofast -march=native -flto . 110.9 |=========================================== yquake2 8.10 Renderer: Software CPU Color Light - AF: Off - MSAA: Off - Resolution: 3840 x 2160 Frames Per Second > Higher Is Better -O0 ........................ 12.4 |================ -Og ........................ 26.5 |=================================== -O1 ........................ 30.8 |======================================== -O2 ........................ 30.6 |======================================== -O3 ........................ 31.1 |========================================= -Ofast ..................... 32.1 |========================================== -O2 -march=native .......... 31.2 |========================================= -O3 -march=native .......... 32.4 |=========================================== -Ofast -march=native ....... 32.3 |========================================== -O2 -march=native -flto .... 31.2 |========================================= -O3 -march=native -flto .... 33.4 |============================================ -Ofast -march=native -flto . 33.5 |============================================ x264 2022-02-22 Video Input: Bosphorus 4K Frames Per Second > Higher Is Better -O0 ........................ 30.28 |===================== -Og ........................ 60.59 |========================================= -O1 ........................ 61.20 |========================================== -O2 ........................ 62.01 |========================================== -O3 ........................ 61.19 |========================================== -Ofast ..................... 61.30 |========================================== -O2 -march=native .......... 60.03 |========================================= -O3 -march=native .......... 61.56 |========================================== -Ofast -march=native ....... 60.38 |========================================= -O2 -march=native -flto .... 62.12 |========================================== -O3 -march=native -flto .... 62.80 |=========================================== -Ofast -march=native -flto . 63.02 |=========================================== simdjson 2.0 Throughput Test: PartialTweets GB/s > Higher Is Better -O0 ........................ 3.68 |======================================= -Og ........................ 3.69 |======================================= -O1 ........................ 3.70 |======================================= -O2 ........................ 3.69 |======================================= -O3 ........................ 3.71 |======================================= -Ofast ..................... 3.68 |======================================= -O2 -march=native .......... 4.10 |=========================================== -O3 -march=native .......... 4.10 |=========================================== -Ofast -march=native ....... 4.15 |============================================ -O2 -march=native -flto .... 4.00 |========================================== -O3 -march=native -flto .... 4.08 |=========================================== -Ofast -march=native -flto . 3.30 |=================================== ACES DGEMM 1.0 Sustained Floating-Point Rate GFLOP/s > Higher Is Better -O0 ........................ 0.326973 |= -Og ........................ 0.251414 | -O1 ........................ 17.168690 |================================= -O2 ........................ 17.387315 |================================= -O3 ........................ 19.529907 |===================================== -Ofast ..................... 20.356866 |======================================= -O2 -march=native .......... 17.273442 |================================= -O3 -march=native .......... 19.402369 |===================================== -Ofast -march=native ....... 20.473820 |======================================= -O2 -march=native -flto .... 17.246391 |================================= -O3 -march=native -flto .... 19.250170 |===================================== -Ofast -march=native -flto . 20.556952 |======================================= GraphicsMagick 1.3.33 Operation: Swirl Iterations Per Minute > Higher Is Better -O0 ........................ 1313 |============================ -Og ........................ 1793 |====================================== -O1 ........................ 1963 |========================================== -O2 ........................ 1899 |========================================= -O3 ........................ 1959 |========================================== -Ofast ..................... 1999 |=========================================== -O2 -march=native .......... 1978 |========================================== -O3 -march=native .......... 2037 |============================================ -Ofast -march=native ....... 2058 |============================================ -O2 -march=native -flto .... 2025 |=========================================== -O3 -march=native -flto .... 2045 |============================================ -Ofast -march=native -flto . 2055 |============================================ GraphicsMagick 1.3.33 Operation: Sharpen Iterations Per Minute > Higher Is Better -O0 ........................ 209 |============= -Og ........................ 406 |========================= -O1 ........................ 643 |======================================== -O2 ........................ 645 |======================================== -O3 ........................ 634 |======================================== -Ofast ..................... 613 |====================================== -O2 -march=native .......... 715 |============================================= -O3 -march=native .......... 712 |============================================= -Ofast -march=native ....... 684 |=========================================== -O2 -march=native -flto .... 709 |============================================ -O3 -march=native -flto .... 718 |============================================= -Ofast -march=native -flto . 696 |============================================ GraphicsMagick 1.3.33 Operation: Enhanced Iterations Per Minute > Higher Is Better -O0 ........................ 381 |================ -Og ........................ 851 |==================================== -O1 ........................ 966 |========================================= -O2 ........................ 950 |======================================== -O3 ........................ 928 |======================================= -Ofast ..................... 1037 |============================================ -O2 -march=native .......... 1035 |============================================ -O3 -march=native .......... 970 |========================================= -Ofast -march=native ....... 983 |========================================== -O2 -march=native -flto .... 1033 |============================================ -O3 -march=native -flto .... 955 |========================================= -Ofast -march=native -flto . 962 |========================================= GraphicsMagick 1.3.33 Operation: Noise-Gaussian Iterations Per Minute > Higher Is Better -O0 ........................ 507 |============================== -Og ........................ 627 |===================================== -O1 ........................ 746 |=========================================== -O2 ........................ 695 |========================================= -O3 ........................ 687 |======================================== -Ofast ..................... 730 |=========================================== -O2 -march=native .......... 703 |========================================= -O3 -march=native .......... 707 |========================================= -Ofast -march=native ....... 758 |============================================ -O2 -march=native -flto .... 701 |========================================= -O3 -march=native -flto .... 718 |========================================== -Ofast -march=native -flto . 772 |============================================= Coremark 1.0 CoreMark Size 666 - Iterations Per Second Iterations/Sec > Higher Is Better -O0 ........................ 534015.81 |======== -Og ........................ 1262375.90 |==================== -O1 ........................ 1812838.32 |============================ -O2 ........................ 2166496.20 |================================== -O3 ........................ 2178672.34 |================================== -Ofast ..................... 2313044.69 |==================================== -O2 -march=native .......... 2270060.60 |=================================== -O3 -march=native .......... 2321535.50 |==================================== -Ofast -march=native ....... 2440113.68 |====================================== -O2 -march=native -flto .... 2184855.52 |================================== -O3 -march=native -flto .... 2410293.80 |====================================== -Ofast -march=native -flto . 2401884.35 |===================================== Zstd Compression 1.5.0 Compression Level: 3 - Compression Speed MB/s > Higher Is Better -O0 ........................ 2958.4 |======================= -O1 ........................ 5290.9 |========================================== -O2 ........................ 5253.4 |========================================== -O3 ........................ 5180.1 |========================================= -Ofast ..................... 5248.2 |========================================== -O2 -march=native .......... 5227.7 |========================================= -O3 -march=native .......... 5246.5 |========================================== -Ofast -march=native ....... 5246.5 |========================================== -O2 -march=native -flto .... 5243.6 |========================================== -O3 -march=native -flto .... 5258.9 |========================================== -Ofast -march=native -flto . 5285.9 |========================================== Zstd Compression 1.5.0 Compression Level: 19 - Compression Speed MB/s > Higher Is Better -O0 ........................ 35.2 |================== -O1 ........................ 81.2 |========================================= -O2 ........................ 82.3 |========================================== -O3 ........................ 80.8 |========================================= -Ofast ..................... 83.6 |========================================== -O2 -march=native .......... 85.2 |=========================================== -O3 -march=native .......... 86.7 |============================================ -Ofast -march=native ....... 86.6 |============================================ -O2 -march=native -flto .... 86.1 |=========================================== -O3 -march=native -flto .... 87.2 |============================================ -Ofast -march=native -flto . 86.2 |=========================================== Zstd Compression 1.5.0 Compression Level: 19 - Decompression Speed MB/s > Higher Is Better -O0 ........................ 643.9 |======== -O1 ........................ 3102.5 |======================================= -O2 ........................ 3286.8 |========================================= -O3 ........................ 3322.7 |========================================== -Ofast ..................... 3326.7 |========================================== -O2 -march=native .......... 3290.4 |========================================== -O3 -march=native .......... 3293.1 |========================================== -Ofast -march=native ....... 3290.7 |========================================== -O2 -march=native -flto .... 3161.6 |======================================== -O3 -march=native -flto .... 3129.7 |======================================== -Ofast -march=native -flto . 3119.0 |======================================= Zstd Compression 1.5.0 Compression Level: 3, Long Mode - Compression Speed MB/s > Higher Is Better -O0 ........................ 214.8 |================ -O1 ........................ 553.3 |========================================== -O2 ........................ 549.8 |========================================== -O3 ........................ 546.3 |========================================== -Ofast ..................... 542.9 |========================================= -O2 -march=native .......... 565.2 |=========================================== -O3 -march=native .......... 558.0 |========================================== -Ofast -march=native ....... 557.8 |========================================== -O2 -march=native -flto .... 564.5 |=========================================== -O3 -march=native -flto .... 554.3 |========================================== -Ofast -march=native -flto . 558.7 |=========================================== Zstd Compression 1.5.0 Compression Level: 3, Long Mode - Decompression Speed MB/s > Higher Is Better -O0 ........................ 752.2 |======== -O1 ........................ 3699.9 |======================================= -O2 ........................ 3903.8 |========================================= -O3 ........................ 3958.6 |========================================== -Ofast ..................... 3969.2 |========================================== -O2 -march=native .......... 3913.4 |========================================= -O3 -march=native .......... 3944.7 |========================================= -Ofast -march=native ....... 4000.6 |========================================== -O2 -march=native -flto .... 3772.8 |======================================== -O3 -march=native -flto .... 3731.2 |======================================= -Ofast -march=native -flto . 3738.4 |======================================= Zstd Compression 1.5.0 Compression Level: 8, Long Mode - Compression Speed MB/s > Higher Is Better -O0 ........................ 235.6 |================= -O1 ........................ 560.4 |========================================= -O2 ........................ 566.7 |========================================== -O3 ........................ 572.1 |========================================== -Ofast ..................... 561.2 |========================================= -O2 -march=native .......... 579.8 |=========================================== -O3 -march=native .......... 576.3 |========================================== -Ofast -march=native ....... 576.3 |========================================== -O2 -march=native -flto .... 584.8 |=========================================== -O3 -march=native -flto .... 568.7 |========================================== -Ofast -march=native -flto . 578.1 |=========================================== Zstd Compression 1.5.0 Compression Level: 8, Long Mode - Decompression Speed MB/s > Higher Is Better -O0 ........................ 794.3 |======== -O1 ........................ 3798.8 |======================================= -O2 ........................ 4009.9 |========================================= -O3 ........................ 4053.2 |========================================== -Ofast ..................... 4077.5 |========================================== -O2 -march=native .......... 3985.8 |========================================= -O3 -march=native .......... 4058.1 |========================================== -Ofast -march=native ....... 4099.0 |========================================== -O2 -march=native -flto .... 3854.0 |======================================= -O3 -march=native -flto .... 3862.4 |======================================== -Ofast -march=native -flto . 3862.4 |======================================== Zstd Compression 1.5.0 Compression Level: 19, Long Mode - Compression Speed MB/s > Higher Is Better -O0 ........................ 18.4 |================== -O1 ........................ 44.2 |============================================ -O2 ........................ 44.1 |=========================================== -O3 ........................ 44.0 |=========================================== -Ofast ..................... 44.1 |=========================================== -O2 -march=native .......... 43.9 |=========================================== -O3 -march=native .......... 44.6 |============================================ -Ofast -march=native ....... 44.6 |============================================ -O2 -march=native -flto .... 44.1 |=========================================== -O3 -march=native -flto .... 44.7 |============================================ -Ofast -march=native -flto . 44.5 |============================================ Zstd Compression 1.5.0 Compression Level: 19, Long Mode - Decompression Speed MB/s > Higher Is Better -O0 ........................ 680.7 |========= -O1 ........................ 3172.5 |======================================== -O2 ........................ 3349.3 |========================================== -O3 ........................ 3351.0 |========================================== -Ofast ..................... 3325.5 |========================================== -O2 -march=native .......... 3287.8 |========================================= -O3 -march=native .......... 3340.3 |========================================== -Ofast -march=native ....... 3327.5 |========================================== -O2 -march=native -flto .... 3213.4 |======================================== -O3 -march=native -flto .... 3208.1 |======================================== -Ofast -march=native -flto . 3210.6 |======================================== SciMark 2.0 Computational Test: Composite Mflops > Higher Is Better -O0 ........................ 644.29 |======= -Og ........................ 1687.34 |=================== -O1 ........................ 2169.36 |======================== -O2 ........................ 2353.29 |=========================== -O3 ........................ 2978.43 |================================== -Ofast ..................... 2991.97 |================================== -O2 -march=native .......... 2392.49 |=========================== -O3 -march=native .......... 3514.95 |======================================== -Ofast -march=native ....... 3300.91 |===================================== -O2 -march=native -flto .... 2538.07 |============================= -O3 -march=native -flto .... 3565.22 |======================================== -Ofast -march=native -flto . 3634.97 |========================================= SciMark 2.0 Computational Test: Monte Carlo Mflops > Higher Is Better -O0 ........................ 152.45 |=== -Og ........................ 274.47 |====== -O1 ........................ 826.02 |================= -O2 ........................ 767.65 |================ -O3 ........................ 771.66 |================ -Ofast ..................... 771.37 |================ -O2 -march=native .......... 754.49 |=============== -O3 -march=native .......... 761.49 |=============== -Ofast -march=native ....... 763.53 |================ -O2 -march=native -flto .... 773.38 |================ -O3 -march=native -flto .... 2014.54 |========================================= -Ofast -march=native -flto . 1998.50 |========================================= SciMark 2.0 Computational Test: Sparse Matrix Multiply Mflops > Higher Is Better -O0 ........................ 734.47 |======== -Og ........................ 2582.35 |============================== -O1 ........................ 3388.23 |======================================= -O2 ........................ 3510.15 |======================================== -O3 ........................ 3511.41 |======================================== -Ofast ..................... 3510.03 |======================================== -O2 -march=native .......... 2974.71 |================================== -O3 -march=native .......... 3578.26 |========================================= -Ofast -march=native ....... 3251.37 |===================================== -O2 -march=native -flto .... 3585.91 |========================================= -O3 -march=native -flto .... 3516.19 |======================================== -Ofast -march=native -flto . 3073.04 |=================================== SciMark 2.0 Computational Test: Dense LU Matrix Factorization Mflops > Higher Is Better -O0 ........................ 718.20 |=== -Og ........................ 3980.22 |=============== -O1 ........................ 4989.39 |=================== -O2 ........................ 5136.82 |=================== -O3 ........................ 8249.09 |=============================== -Ofast ..................... 8308.60 |=============================== -O2 -march=native .......... 5935.85 |====================== -O3 -march=native .......... 10755.20 |======================================== -Ofast -march=native ....... 10001.09 |===================================== -O2 -march=native -flto .... 5982.56 |====================== -O3 -march=native -flto .... 9829.05 |===================================== -Ofast -march=native -flto . 10640.65 |======================================== SciMark 2.0 Computational Test: Jacobi Successive Over-Relaxation Mflops > Higher Is Better -O0 ........................ 1269.04 |======================= -Og ........................ 1292.49 |======================== -O1 ........................ 1279.06 |======================= -O2 ........................ 2071.08 |====================================== -O3 ........................ 2079.18 |====================================== -Ofast ..................... 2067.29 |====================================== -O2 -march=native .......... 2050.88 |===================================== -O3 -march=native .......... 2229.82 |========================================= -Ofast -march=native ....... 2243.84 |========================================= -O2 -march=native -flto .... 2099.61 |====================================== -O3 -march=native -flto .... 2218.14 |========================================= -Ofast -march=native -flto . 2220.58 |========================================= Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better -O0 ........................ 562.81 |===== -Og ........................ 1621.15 |=============== -O1 ........................ 1730.52 |================ -O2 ........................ 3949.51 |==================================== -O3 ........................ 4461.80 |======================================== -Ofast ..................... 4352.24 |======================================= -O2 -march=native .......... 3972.82 |==================================== -O3 -march=native .......... 4315.85 |======================================= -Ofast -march=native ....... 4545.29 |========================================= -O2 -march=native -flto .... 4220.67 |====================================== -O3 -march=native -flto .... 4544.52 |========================================= -Ofast -march=native -flto . 4506.65 |========================================= Botan 2.17.3 Test: KASUMI MiB/s > Higher Is Better -O0 ........................ 19.88 |========= -Og ........................ 73.33 |================================ -O1 ........................ 77.61 |================================== -O2 ........................ 90.26 |======================================== -O3 ........................ 97.56 |=========================================== -Ofast ..................... 97.75 |=========================================== -O2 -march=native .......... 88.43 |======================================= -O3 -march=native .......... 92.61 |========================================= -Ofast -march=native ....... 92.40 |========================================= -O2 -march=native -flto .... 89.25 |======================================= -O3 -march=native -flto .... 92.56 |========================================= -Ofast -march=native -flto . 91.94 |======================================== Botan 2.17.3 Test: KASUMI - Decrypt MiB/s > Higher Is Better -O0 ........................ 18.72 |======== -Og ........................ 73.34 |================================= -O1 ........................ 83.77 |====================================== -O2 ........................ 86.67 |======================================= -O3 ........................ 95.09 |=========================================== -Ofast ..................... 95.18 |=========================================== -O2 -march=native .......... 86.23 |======================================= -O3 -march=native .......... 92.10 |========================================== -Ofast -march=native ....... 91.73 |========================================= -O2 -march=native -flto .... 86.87 |======================================= -O3 -march=native -flto .... 91.91 |========================================== -Ofast -march=native -flto . 91.98 |========================================== Botan 2.17.3 Test: Twofish MiB/s > Higher Is Better -O0 ........................ 31.56 |==== -Og ........................ 228.38 |========================== -O1 ........................ 345.73 |======================================== -O2 ........................ 361.16 |========================================== -O3 ........................ 360.98 |========================================== -Ofast ..................... 360.95 |========================================== -O2 -march=native .......... 360.30 |========================================== -O3 -march=native .......... 356.35 |========================================= -Ofast -march=native ....... 359.65 |========================================= -O2 -march=native -flto .... 359.26 |========================================= -O3 -march=native -flto .... 358.59 |========================================= -Ofast -march=native -flto . 364.05 |========================================== Botan 2.17.3 Test: Twofish - Decrypt MiB/s > Higher Is Better -O0 ........................ 30.02 |=== -Og ........................ 227.64 |========================== -O1 ........................ 347.07 |======================================== -O2 ........................ 358.21 |========================================= -O3 ........................ 358.09 |========================================= -Ofast ..................... 357.94 |========================================= -O2 -march=native .......... 360.32 |========================================= -O3 -march=native .......... 356.64 |========================================= -Ofast -march=native ....... 360.02 |========================================= -O2 -march=native -flto .... 365.36 |========================================== -O3 -march=native -flto .... 364.40 |========================================== -Ofast -march=native -flto . 319.55 |===================================== Botan 2.17.3 Test: Blowfish MiB/s > Higher Is Better -O0 ........................ 33.32 |=== -Og ........................ 267.67 |========================= -O1 ........................ 415.10 |======================================= -O2 ........................ 436.20 |========================================= -O3 ........................ 436.56 |========================================= -Ofast ..................... 436.16 |========================================= -O2 -march=native .......... 432.23 |========================================= -O3 -march=native .......... 433.05 |========================================= -Ofast -march=native ....... 432.73 |========================================= -O2 -march=native -flto .... 432.75 |========================================= -O3 -march=native -flto .... 432.29 |========================================= -Ofast -march=native -flto . 444.74 |========================================== Botan 2.17.3 Test: Blowfish - Decrypt MiB/s > Higher Is Better -O0 ........................ 33.06 |=== -Og ........................ 267.58 |========================= -O1 ........................ 413.95 |======================================= -O2 ........................ 448.06 |========================================== -O3 ........................ 448.57 |========================================== -Ofast ..................... 447.96 |========================================== -O2 -march=native .......... 443.58 |========================================== -O3 -march=native .......... 445.32 |========================================== -Ofast -march=native ....... 446.91 |========================================== -O2 -march=native -flto .... 445.32 |========================================== -O3 -march=native -flto .... 443.83 |========================================== -Ofast -march=native -flto . 419.51 |======================================= Botan 2.17.3 Test: CAST-256 MiB/s > Higher Is Better -O0 ........................ 21.53 |====== -Og ........................ 95.09 |=========================== -O1 ........................ 96.37 |=========================== -O2 ........................ 97.69 |=========================== -O3 ........................ 149.51 |========================================== -Ofast ..................... 149.08 |========================================== -O2 -march=native .......... 97.58 |=========================== -O3 -march=native .......... 148.38 |========================================== -Ofast -march=native ....... 148.84 |========================================== -O2 -march=native -flto .... 97.01 |=========================== -O3 -march=native -flto .... 138.65 |======================================= -Ofast -march=native -flto . 101.10 |============================ Botan 2.17.3 Test: CAST-256 - Decrypt MiB/s > Higher Is Better -O0 ........................ 21.23 |====== -Og ........................ 95.02 |=========================== -O1 ........................ 96.35 |=========================== -O2 ........................ 97.70 |=========================== -O3 ........................ 149.23 |========================================== -Ofast ..................... 149.04 |========================================== -O2 -march=native .......... 97.52 |=========================== -O3 -march=native .......... 148.04 |========================================== -Ofast -march=native ....... 148.53 |========================================== -O2 -march=native -flto .... 97.16 |=========================== -O3 -march=native -flto .... 140.32 |======================================= -Ofast -march=native -flto . 101.48 |============================= Botan 2.17.3 Test: ChaCha20Poly1305 MiB/s > Higher Is Better -O0 ........................ 45.51 |== -Og ........................ 472.23 |======================== -O1 ........................ 683.37 |=================================== -O2 ........................ 796.90 |======================================== -O3 ........................ 818.97 |========================================== -Ofast ..................... 826.89 |========================================== -O2 -march=native .......... 607.32 |=============================== -O3 -march=native .......... 596.22 |============================== -Ofast -march=native ....... 605.41 |=============================== -O2 -march=native -flto .... 610.22 |=============================== -O3 -march=native -flto .... 601.44 |=============================== -Ofast -march=native -flto . 607.35 |=============================== Botan 2.17.3 Test: ChaCha20Poly1305 - Decrypt MiB/s > Higher Is Better -O0 ........................ 45.48 |== -Og ........................ 474.78 |======================== -O1 ........................ 685.42 |=================================== -O2 ........................ 791.12 |========================================= -O3 ........................ 816.47 |========================================== -Ofast ..................... 812.30 |========================================== -O2 -march=native .......... 609.36 |=============================== -O3 -march=native .......... 599.80 |=============================== -Ofast -march=native ....... 603.79 |=============================== -O2 -march=native -flto .... 599.79 |=============================== -O3 -march=native -flto .... 595.76 |=============================== -Ofast -march=native -flto . 596.27 |=============================== Crypto++ 8.2 Test: Unkeyed Algorithms MiB/second > Higher Is Better -O0 ........................ 101.56 |=========== -Og ........................ 331.24 |================================== -O1 ........................ 373.96 |======================================= -O2 ........................ 391.80 |========================================= -O3 ........................ 401.03 |========================================= -Ofast ..................... 393.81 |========================================= -O2 -march=native .......... 399.32 |========================================= -O3 -march=native .......... 401.02 |========================================= -Ofast -march=native ....... 406.20 |========================================== -O2 -march=native -flto .... 373.52 |======================================= -O3 -march=native -flto .... 405.35 |========================================== -Ofast -march=native -flto . 401.96 |========================================== Stargate Digital Audio Workstation 21.10.9 Sample Rate: 44100 - Buffer Size: 512 Render Ratio > Higher Is Better -O0 ........................ 1.402591 |========== -Og ........................ 3.517193 |========================= -O1 ........................ 3.997692 |============================= -O2 ........................ 5.265915 |====================================== -O3 ........................ 5.460330 |======================================= -Ofast ..................... 5.573970 |======================================== -O2 -march=native .......... 5.277185 |====================================== -O3 -march=native .......... 5.583920 |======================================== -Ofast -march=native ....... 5.492760 |======================================= -O2 -march=native -flto .... 5.290281 |====================================== -O3 -march=native -flto .... 5.591442 |======================================== -Ofast -march=native -flto . 5.595828 |======================================== Stargate Digital Audio Workstation 21.10.9 Sample Rate: 96000 - Buffer Size: 512 Render Ratio > Higher Is Better -O0 ........................ 0.955383 |========== -Og ........................ 2.432754 |======================== -O1 ........................ 2.809049 |============================ -O2 ........................ 3.650311 |===================================== -O3 ........................ 3.964840 |======================================== -Ofast ..................... 3.985871 |======================================== -O2 -march=native .......... 3.657927 |===================================== -O3 -march=native .......... 3.985304 |======================================== -Ofast -march=native ....... 3.988450 |======================================== -O2 -march=native -flto .... 3.638391 |==================================== -O3 -march=native -flto .... 3.971543 |======================================== -Ofast -march=native -flto . 3.995006 |======================================== Stargate Digital Audio Workstation 21.10.9 Sample Rate: 44100 - Buffer Size: 1024 Render Ratio > Higher Is Better -O0 ........................ 1.470203 |========== -Og ........................ 3.611675 |========================= -O1 ........................ 4.126828 |============================ -O2 ........................ 5.512375 |====================================== -O3 ........................ 5.814484 |======================================== -Ofast ..................... 5.834076 |======================================== -O2 -march=native .......... 5.514898 |====================================== -O3 -march=native .......... 5.831520 |======================================== -Ofast -march=native ....... 5.829580 |======================================== -O2 -march=native -flto .... 5.518488 |====================================== -O3 -march=native -flto .... 5.851422 |======================================== -Ofast -march=native -flto . 5.693383 |======================================= Stargate Digital Audio Workstation 21.10.9 Sample Rate: 480000 - Buffer Size: 512 Render Ratio > Higher Is Better -O0 ........................ 1.350817 |========== -Og ........................ 3.391039 |========================= -O1 ........................ 3.814708 |============================ -O2 ........................ 5.063857 |===================================== -O3 ........................ 5.362493 |======================================== -Ofast ..................... 5.413662 |======================================== -O2 -march=native .......... 5.081010 |====================================== -O3 -march=native .......... 5.414187 |======================================== -Ofast -march=native ....... 5.406237 |======================================== -O2 -march=native -flto .... 5.067096 |===================================== -O3 -march=native -flto .... 5.416745 |======================================== -Ofast -march=native -flto . 5.409179 |======================================== Stargate Digital Audio Workstation 21.10.9 Sample Rate: 96000 - Buffer Size: 1024 Render Ratio > Higher Is Better -O0 ........................ 1.009179 |========= -Og ........................ 2.570652 |======================== -O1 ........................ 2.954043 |============================ -O2 ........................ 3.826171 |==================================== -O3 ........................ 4.251149 |======================================== -Ofast ..................... 4.271662 |======================================== -O2 -march=native .......... 3.876658 |==================================== -O3 -march=native .......... 4.282453 |======================================== -Ofast -march=native ....... 4.254006 |======================================== -O2 -march=native -flto .... 3.901827 |==================================== -O3 -march=native -flto .... 4.220007 |======================================= -Ofast -march=native -flto . 4.252523 |======================================== Stargate Digital Audio Workstation 21.10.9 Sample Rate: 480000 - Buffer Size: 1024 Render Ratio > Higher Is Better -O0 ........................ 1.406054 |========== -Og ........................ 3.474443 |======================== -O1 ........................ 3.965233 |============================ -O2 ........................ 5.327829 |===================================== -O3 ........................ 5.631555 |======================================= -Ofast ..................... 5.708586 |======================================== -O2 -march=native .......... 5.343874 |===================================== -O3 -march=native .......... 5.668950 |======================================== -Ofast -march=native ....... 5.577150 |======================================= -O2 -march=native -flto .... 5.356794 |====================================== -O3 -march=native -flto .... 5.699976 |======================================== -Ofast -march=native -flto . 5.693410 |======================================== PJSIP 2.11 Method: OPTIONS, Stateless Responses Per Second > Higher Is Better -O0 ........................ 132354 |=================================== -Og ........................ 144758 |====================================== -O1 ........................ 151212 |======================================== -O2 ........................ 153825 |========================================= -O3 ........................ 154379 |========================================= -Ofast ..................... 157166 |========================================== -O2 -march=native .......... 155347 |========================================= -O3 -march=native .......... 154782 |========================================= -Ofast -march=native ....... 157055 |========================================== -O2 -march=native -flto .... 158851 |========================================== -O3 -march=native -flto .... 156956 |========================================= -Ofast -march=native -flto . 158393 |========================================== Liquid-DSP 2021.01.31 Threads: 1 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 7166033 |==== -Og ........................ 41726333 |====================== -O1 ........................ 62799333 |================================= -O2 ........................ 63751000 |================================= -O3 ........................ 64168000 |================================= -Ofast ..................... 74729667 |======================================= -O2 -march=native .......... 65739000 |================================== -O3 -march=native .......... 66925333 |=================================== -Ofast -march=native ....... 76520333 |======================================== -O2 -march=native -flto .... 65658000 |================================== -O3 -march=native -flto .... 65931667 |================================== -Ofast -march=native -flto . 77102667 |======================================== Liquid-DSP 2021.01.31 Threads: 2 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 14548333 |==== -Og ........................ 83341667 |===================== -O1 ........................ 126393333 |=============================== -O2 ........................ 128150000 |================================ -O3 ........................ 129350000 |================================ -Ofast ..................... 150756667 |===================================== -O2 -march=native .......... 132233333 |================================= -O3 -march=native .......... 132853333 |================================= -Ofast -march=native ....... 153446667 |====================================== -O2 -march=native -flto .... 132406667 |================================= -O3 -march=native -flto .... 132060000 |================================= -Ofast -march=native -flto . 156933333 |======================================= Liquid-DSP 2021.01.31 Threads: 4 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 29121000 |==== -Og ........................ 167000000 |===================== -O1 ........................ 250040000 |=============================== -O2 ........................ 255566667 |================================ -O3 ........................ 257540000 |================================ -Ofast ..................... 301846667 |====================================== -O2 -march=native .......... 264566667 |================================= -O3 -march=native .......... 263970000 |================================= -Ofast -march=native ....... 307153333 |====================================== -O2 -march=native -flto .... 264706667 |================================= -O3 -march=native -flto .... 263963333 |================================= -Ofast -march=native -flto . 312213333 |======================================= Liquid-DSP 2021.01.31 Threads: 8 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 57365000 |==== -Og ........................ 332140000 |===================== -O1 ........................ 494243333 |=============================== -O2 ........................ 508516667 |================================ -O3 ........................ 508313333 |================================ -Ofast ..................... 595870000 |====================================== -O2 -march=native .......... 522713333 |================================= -O3 -march=native .......... 523676667 |================================= -Ofast -march=native ....... 607470000 |======================================= -O2 -march=native -flto .... 524093333 |================================= -O3 -march=native -flto .... 523086667 |================================= -Ofast -march=native -flto . 615093333 |======================================= Liquid-DSP 2021.01.31 Threads: 16 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 112193333 |==== -Og ........................ 647926667 |===================== -O1 ........................ 952336667 |============================== -O2 ........................ 982343333 |=============================== -O3 ........................ 985523333 |=============================== -Ofast ..................... 1152666667 |===================================== -O2 -march=native .......... 1009466667 |================================ -O3 -march=native .......... 1012166667 |================================ -Ofast -march=native ....... 1172933333 |===================================== -O2 -march=native -flto .... 1009800000 |================================ -O3 -march=native -flto .... 1013033333 |================================ -Ofast -march=native -flto . 1190300000 |====================================== Liquid-DSP 2021.01.31 Threads: 32 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 212850000 |==== -Og ........................ 1208633333 |===================== -O1 ........................ 1729133333 |============================== -O2 ........................ 1788633333 |=============================== -O3 ........................ 1794266667 |=============================== -Ofast ..................... 2105200000 |===================================== -O2 -march=native .......... 1852566667 |================================ -O3 -march=native .......... 1849233333 |================================ -Ofast -march=native ....... 2151300000 |====================================== -O2 -march=native -flto .... 1844400000 |================================ -O3 -march=native -flto .... 1849466667 |================================ -Ofast -march=native -flto . 2169466667 |====================================== Liquid-DSP 2021.01.31 Threads: 64 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 352983333 |==== -Og ........................ 1963866667 |====================== -O1 ........................ 2750633333 |============================== -O2 ........................ 2833633333 |=============================== -O3 ........................ 2823766667 |=============================== -Ofast ..................... 3336800000 |===================================== -O2 -march=native .......... 2924766667 |================================ -O3 -march=native .......... 2927266667 |================================ -Ofast -march=native ....... 3391866667 |====================================== -O2 -march=native -flto .... 2919233333 |================================ -O3 -march=native -flto .... 2921733333 |================================ -Ofast -march=native -flto . 3436466667 |====================================== Liquid-DSP 2021.01.31 Threads: 128 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O0 ........................ 426560000 |==== -Og ........................ 2289133333 |======================= -O1 ........................ 2911766667 |============================= -O2 ........................ 3053166667 |=============================== -O3 ........................ 3042633333 |=============================== -Ofast ..................... 3655100000 |===================================== -O2 -march=native .......... 3337766667 |================================== -O3 -march=native .......... 3318466667 |================================= -Ofast -march=native ....... 3735933333 |====================================== -O2 -march=native -flto .... 3306066667 |================================= -O3 -march=native -flto .... 3277600000 |================================= -Ofast -march=native -flto . 3777800000 |====================================== Darmstadt Automotive Parallel Heterogeneous Suite Backend: OpenMP - Kernel: NDT Mapping Test Cases Per Minute > Higher Is Better -O0 ........................ 856.64 |=================================== -Og ........................ 887.48 |==================================== -O1 ........................ 889.52 |==================================== -O2 ........................ 873.97 |==================================== -O3 ........................ 908.87 |===================================== -Ofast ..................... 874.73 |==================================== -O2 -march=native .......... 972.93 |======================================== -O3 -march=native .......... 965.67 |======================================= -Ofast -march=native ....... 953.73 |======================================= -O2 -march=native -flto .... 980.63 |======================================== -O3 -march=native -flto .... 932.36 |====================================== -Ofast -march=native -flto . 1005.22 |========================================= Timed MrBayes Analysis 3.2.7 Primate Phylogeny Analysis Seconds < Lower Is Better -O0 ........................ 727.66 |========================================== -Og ........................ 392.32 |======================= -O1 ........................ 385.98 |====================== -O2 ........................ 159.40 |========= -O3 ........................ 150.70 |========= -Ofast ..................... 88.65 |===== -O2 -march=native .......... 158.08 |========= -O3 -march=native .......... 142.94 |======== -Ofast -march=native ....... 88.02 |===== -O2 -march=native -flto .... 157.61 |========= -O3 -march=native -flto .... 144.13 |======== -Ofast -march=native -flto . 90.56 |===== C-Ray 1.1 Total Time - 4K, 16 Rays Per Pixel Seconds < Lower Is Better -O0 ........................ 37.523 |========================================== -Og ........................ 25.661 |============================= -O1 ........................ 25.801 |============================= -O2 ........................ 24.999 |============================ -O3 ........................ 10.666 |============ -Ofast ..................... 10.541 |============ -O2 -march=native .......... 18.639 |===================== -O3 -march=native .......... 9.303 |========== -Ofast -march=native ....... 8.734 |========== -O2 -march=native -flto .... 18.284 |==================== -O3 -march=native -flto .... 9.383 |=========== -Ofast -march=native -flto . 9.003 |========== POV-Ray 3.7.0.7 Trace Time Seconds < Lower Is Better -O0 ........................ 32.519 |========================================== -Og ........................ 11.837 |=============== -O1 ........................ 11.029 |============== -O2 ........................ 9.962 |============= -O3 ........................ 9.658 |============ -Ofast ..................... 9.723 |============= -O2 -march=native .......... 9.955 |============= -O3 -march=native .......... 9.633 |============ -Ofast -march=native ....... 9.781 |============= -O2 -march=native -flto .... 9.734 |============= -O3 -march=native -flto .... 9.329 |============ -Ofast -march=native -flto . 9.418 |============ AOBench Size: 2048 x 2048 - Total Time Seconds < Lower Is Better -O0 ........................ 63.51 |=========================================== -Og ........................ 53.53 |==================================== -O1 ........................ 36.20 |========================= -O2 ........................ 36.08 |======================== -O3 ........................ 32.68 |====================== -Ofast ..................... 30.49 |===================== -O2 -march=native .......... 36.04 |======================== -O3 -march=native .......... 30.09 |==================== -Ofast -march=native ....... 27.93 |=================== -O2 -march=native -flto .... 35.72 |======================== -O3 -march=native -flto .... 27.64 |=================== -Ofast -march=native -flto . 26.24 |================== FLAC Audio Encoding 1.3.3 WAV To FLAC Seconds < Lower Is Better -O0 ........................ 120.02 |========================================== -Og ........................ 17.79 |====== -O1 ........................ 16.62 |====== -O2 ........................ 15.41 |===== -O3 ........................ 14.16 |===== -Ofast ..................... 14.09 |===== -O2 -march=native .......... 17.05 |====== -O3 -march=native .......... 15.72 |====== -Ofast -march=native ....... 15.67 |===== -O2 -march=native -flto .... 18.09 |====== -O3 -march=native -flto .... 15.57 |===== -Ofast -march=native -flto . 15.78 |====== LAME MP3 Encoding 3.100 WAV To MP3 Seconds < Lower Is Better -O0 ........................ 25.751 |========================================== -Og ........................ 11.012 |================== -O1 ........................ 9.311 |=============== -O2 ........................ 8.679 |============== -O3 ........................ 7.394 |============ -Ofast ..................... 7.332 |============ -O2 -march=native .......... 7.989 |============= -O3 -march=native .......... 6.882 |=========== -Ofast -march=native ....... 6.863 |=========== -O2 -march=native -flto .... 8.008 |============= -O3 -march=native -flto .... 6.872 |=========== -Ofast -march=native -flto . 6.804 |=========== Opus Codec Encoding 1.3.1 WAV To Opus Encode Seconds < Lower Is Better -O0 ........................ 41.103 |========================================== -Og ........................ 9.488 |========== -O1 ........................ 8.427 |========= -O2 ........................ 7.434 |======== -O3 ........................ 7.023 |======= -Ofast ..................... 6.321 |====== -O2 -march=native .......... 6.768 |======= -O3 -march=native .......... 6.459 |======= -Ofast -march=native ....... 6.075 |====== -O2 -march=native -flto .... 6.925 |======= -O3 -march=native -flto .... 6.503 |======= -Ofast -march=native -flto . 5.890 |====== eSpeak-NG Speech Engine 20200907 Text-To-Speech Synthesis Seconds < Lower Is Better -O0 ........................ 75.80 |=========================================== -Og ........................ 35.31 |==================== -O1 ........................ 29.95 |================= -O2 ........................ 29.21 |================= -O3 ........................ 28.65 |================ -Ofast ..................... 28.93 |================ -O2 -march=native .......... 29.08 |================ -O3 -march=native .......... 29.24 |================= -Ofast -march=native ....... 28.97 |================ -O2 -march=native -flto .... 29.01 |================ -O3 -march=native -flto .... 28.67 |================ -Ofast -march=native -flto . 28.68 |================ Gcrypt Library 1.9 Seconds < Lower Is Better -O0 ........................ 587.77 |========================================== -Og ........................ 240.07 |================= -O1 ........................ 212.02 |=============== -O2 ........................ 207.14 |=============== -O3 ........................ 206.05 |=============== -Ofast ..................... 207.20 |=============== -O2 -march=native .......... 209.29 |=============== -O3 -march=native .......... 206.86 |=============== -Ofast -march=native ....... 205.79 |=============== -O2 -march=native -flto .... 205.28 |=============== -O3 -march=native -flto .... 203.49 |=============== -Ofast -march=native -flto . 203.64 |=============== Ngspice 34 Circuit: C2670 Seconds < Lower Is Better -O0 ........................ 136.73 |========================================== -Og ........................ 99.75 |=============================== -O1 ........................ 95.86 |============================= -O2 ........................ 98.70 |============================== -O3 ........................ 97.75 |============================== -Ofast ..................... 97.57 |============================== -O2 -march=native .......... 94.12 |============================= -O3 -march=native .......... 95.27 |============================= -Ofast -march=native ....... 93.11 |============================= -O2 -march=native -flto .... 94.71 |============================= -O3 -march=native -flto .... 95.67 |============================= -Ofast -march=native -flto . 93.58 |============================= Ngspice 34 Circuit: C7552 Seconds < Lower Is Better -O0 ........................ 104.02 |========================================== -Og ........................ 82.80 |================================= -O1 ........................ 82.53 |================================= -O2 ........................ 83.67 |================================== -O3 ........................ 81.36 |================================= -Ofast ..................... 78.62 |================================ -O2 -march=native .......... 81.27 |================================= -O3 -march=native .......... 80.80 |================================= -Ofast -march=native ....... 79.89 |================================ -O2 -march=native -flto .... 78.80 |================================ -O3 -march=native -flto .... 82.96 |================================= -Ofast -march=native -flto . 80.95 |================================= ASTC Encoder 3.2 Preset: Medium Seconds < Lower Is Better -O0 ........................ 3.8049 |========================================== -Og ........................ 3.7696 |========================================== -O1 ........................ 3.7491 |========================================= -O2 ........................ 3.8028 |========================================== -O3 ........................ 3.7185 |========================================= -Ofast ..................... 3.7695 |========================================== -O2 -march=native .......... 3.5767 |======================================= -O3 -march=native .......... 3.5885 |======================================== -Ofast -march=native ....... 3.5783 |======================================= -O2 -march=native -flto .... 3.5659 |======================================= -O3 -march=native -flto .... 3.5997 |======================================== -Ofast -march=native -flto . 3.5738 |======================================= ASTC Encoder 3.2 Preset: Thorough Seconds < Lower Is Better -O0 ........................ 5.7897 |========================================== -Og ........................ 5.7765 |========================================== -O1 ........................ 5.7532 |========================================== -O2 ........................ 5.7451 |========================================== -O3 ........................ 5.7041 |========================================= -Ofast ..................... 5.7812 |========================================== -O2 -march=native .......... 5.5113 |======================================== -O3 -march=native .......... 5.5582 |======================================== -Ofast -march=native ....... 5.5052 |======================================== -O2 -march=native -flto .... 5.4882 |======================================== -O3 -march=native -flto .... 5.5477 |======================================== -Ofast -march=native -flto . 5.5083 |======================================== SQLite Speedtest 3.30 Timed Time - Size 1,000 Seconds < Lower Is Better -O0 ........................ 112.86 |========================================== -Og ........................ 88.24 |================================= -O1 ........................ 82.18 |=============================== -O2 ........................ 78.59 |============================= -O3 ........................ 75.14 |============================ -Ofast ..................... 75.65 |============================ -O2 -march=native .......... 74.17 |============================ -O3 -march=native .......... 76.58 |============================ -Ofast -march=native ....... 74.85 |============================ -O2 -march=native -flto .... 74.64 |============================ -O3 -march=native -flto .... 75.59 |============================ -Ofast -march=native -flto . 74.82 |============================ WavPack Audio Encoding 5.3 WAV To WavPack Seconds < Lower Is Better -O0 ........................ 13.08 |=========================================== -Og ........................ 12.29 |======================================== -O1 ........................ 11.95 |======================================= -O2 ........................ 12.08 |======================================== -O3 ........................ 12.12 |======================================== -Ofast ..................... 12.12 |======================================== -O2 -march=native .......... 12.08 |======================================== -O3 -march=native .......... 12.08 |======================================== -Ofast -march=native ....... 12.04 |======================================== -O2 -march=native -flto .... 12.04 |======================================== -O3 -march=native -flto .... 12.08 |======================================== -Ofast -march=native -flto . 11.87 |======================================= Geometric Mean Of All Test Results Result Composite - GCC 12 Threadripper Compiler Optimization Benchmarks Geometric Mean > Higher Is Better -O0 ........................ 164.91 |=========== -Og ........................ 418.62 |=========================== -O1 ........................ 530.94 |=================================== -O2 ........................ 571.72 |===================================== -O3 ........................ 606.59 |======================================== -Ofast ..................... 630.21 |========================================= -O2 -march=native .......... 580.53 |====================================== -O3 -march=native .......... 619.23 |======================================== -Ofast -march=native ....... 635.15 |========================================= -O2 -march=native -flto .... 583.30 |====================================== -O3 -march=native -flto .... 632.66 |========================================= -Ofast -march=native -flto . 643.79 |==========================================