Compiler Optimization Levels Tests for a future article. -O3 -march=native: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O1: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O0: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -Og: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O2: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O2 -march=native: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O2 -flto: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O3: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O3 -flto: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -O3 -march=native -flto: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -Ofast -march=native: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 -Ofast: Processor: Intel Core i9-11900K @ 5.10GHz (8 Cores / 16 Threads), Motherboard: ASUS ROG MAXIMUS XIII HERO (0707 BIOS), Chipset: Intel Tiger Lake-H, Memory: 32GB, Disk: 2000GB Corsair Force MP600 + 257GB Flash Drive, Graphics: AMD Radeon VII 16GB (1801/1000MHz), Audio: Intel Tiger Lake-H HD Audio, Monitor: ASUS MG28U, Network: 2 x Intel I225-V + Intel Wi-Fi 6 AX210/AX211/AX411 OS: Fedora 34, Kernel: 5.12.9-300.fc34.x86_64 (x86_64), Desktop: GNOME Shell 40.1, Display Server: X Server + Wayland, OpenGL: 4.6 Mesa 21.1.1 (LLVM 12.0.0), Compiler: GCC 11.1.1 20210531, File-System: btrfs, Screen Resolution: 3840x2160 Crypto++ 8.2 Test: All Algorithms MiB/second > Higher Is Better -O3 -march=native ....... 2346.36 |============================================ -O1 ..................... 2114.62 |======================================== -O0 ..................... 542.23 |========== -Og ..................... 1975.63 |===================================== -O2 ..................... 2245.55 |========================================== -O2 -march=native ....... 2261.01 |========================================== -O2 -flto ............... 2224.10 |========================================== -O3 ..................... 2316.41 |=========================================== -O3 -flto ............... 2269.04 |=========================================== -O3 -march=native -flto . 2278.38 |=========================================== -Ofast -march=native .... 2330.25 |============================================ -Ofast .................. 2320.94 |============================================ Crypto++ 8.2 Test: Keyed Algorithms MiB/second > Higher Is Better -O3 -march=native ....... 924.21 |============================================= -O1 ..................... 751.48 |===================================== -O0 ..................... 135.96 |======= -Og ..................... 676.03 |================================= -O2 ..................... 825.82 |======================================== -O2 -march=native ....... 844.68 |========================================= -O2 -flto ............... 794.97 |======================================= -O3 ..................... 910.86 |============================================ -O3 -flto ............... 828.89 |======================================== -O3 -march=native -flto . 842.10 |========================================= -Ofast -march=native .... 922.64 |============================================= -Ofast .................. 910.43 |============================================ Crypto++ 8.2 Test: Unkeyed Algorithms MiB/second > Higher Is Better -O3 -march=native ....... 491.45 |============================================= -O1 ..................... 472.95 |=========================================== -O0 ..................... 150.67 |============== -Og ..................... 450.93 |========================================= -O2 ..................... 492.24 |============================================= -O2 -march=native ....... 484.45 |============================================ -O2 -flto ............... 475.00 |=========================================== -O3 ..................... 496.42 |============================================= -O3 -flto ............... 490.79 |============================================ -O3 -march=native -flto . 490.39 |============================================ -Ofast -march=native .... 490.61 |============================================ -Ofast .................. 495.40 |============================================= Crypto++ 8.2 Test: Integer + Elliptic Curve Public Key Algorithms MiB/second > Higher Is Better -O3 -march=native ....... 7194.86 |============================================ -O1 ..................... 6862.79 |========================================== -O0 ..................... 2145.95 |============= -Og ..................... 6555.53 |======================================== -O2 ..................... 7128.98 |=========================================== -O2 -march=native ....... 7173.76 |=========================================== -O2 -flto ............... 7257.05 |============================================ -O3 ..................... 7052.85 |=========================================== -O3 -flto ............... 7270.92 |============================================ -O3 -march=native -flto . 7252.64 |============================================ -Ofast -march=native .... 7097.81 |=========================================== -Ofast .................. 7091.95 |=========================================== Botan 2.17.3 Test: KASUMI MiB/s > Higher Is Better -O3 -march=native ....... 115.82 |========================================== -O1 ..................... 108.28 |======================================= -O0 ..................... 34.46 |============ -Og ..................... 100.68 |==================================== -O2 ..................... 119.47 |=========================================== -O2 -march=native ....... 112.45 |========================================= -O2 -flto ............... 119.38 |=========================================== -O3 ..................... 124.04 |============================================= -O3 -flto ............... 124.15 |============================================= -O3 -march=native -flto . 116.01 |========================================== -Ofast -march=native .... 116.05 |========================================== -Ofast .................. 124.16 |============================================= Botan 2.17.3 Test: KASUMI - Decrypt MiB/s > Higher Is Better -O3 -march=native ....... 112.03 |========================================== -O1 ..................... 106.48 |======================================== -O0 ..................... 32.60 |============ -Og ..................... 98.83 |===================================== -O2 ..................... 115.40 |============================================ -O2 -march=native ....... 111.71 |========================================== -O2 -flto ............... 114.98 |=========================================== -O3 ..................... 118.83 |============================================= -O3 -flto ............... 119.06 |============================================= -O3 -march=native -flto . 112.04 |========================================== -Ofast -march=native .... 112.37 |========================================== -Ofast .................. 118.79 |============================================= Botan 2.17.3 Test: Twofish MiB/s > Higher Is Better -O3 -march=native ....... 464.47 |============================================ -O1 ..................... 430.95 |========================================= -O0 ..................... 43.45 |==== -Og ..................... 384.86 |===================================== -O2 ..................... 448.57 |=========================================== -O2 -march=native ....... 470.94 |============================================= -O2 -flto ............... 448.40 |=========================================== -O3 ..................... 449.44 |=========================================== -O3 -flto ............... 448.62 |=========================================== -O3 -march=native -flto . 463.01 |============================================ -Ofast -march=native .... 463.94 |============================================ -Ofast .................. 450.00 |=========================================== Botan 2.17.3 Test: Twofish - Decrypt MiB/s > Higher Is Better -O3 -march=native ....... 451.66 |=========================================== -O1 ..................... 427.26 |========================================= -O0 ..................... 43.79 |==== -Og ..................... 387.64 |===================================== -O2 ..................... 449.21 |=========================================== -O2 -march=native ....... 470.03 |============================================= -O2 -flto ............... 445.67 |=========================================== -O3 ..................... 451.78 |=========================================== -O3 -flto ............... 451.24 |=========================================== -O3 -march=native -flto . 454.15 |=========================================== -Ofast -march=native .... 449.76 |=========================================== -Ofast .................. 453.84 |=========================================== Botan 2.17.3 Test: Blowfish MiB/s > Higher Is Better -O3 -march=native ....... 552.46 |============================================ -O1 ..................... 533.96 |=========================================== -O0 ..................... 47.15 |==== -Og ..................... 443.74 |=================================== -O2 ..................... 562.85 |============================================= -O2 -march=native ....... 554.07 |============================================ -O2 -flto ............... 563.75 |============================================= -O3 ..................... 553.53 |============================================ -O3 -flto ............... 551.74 |============================================ -O3 -march=native -flto . 553.17 |============================================ -Ofast -march=native .... 554.57 |============================================ -Ofast .................. 552.87 |============================================ Botan 2.17.3 Test: Blowfish - Decrypt MiB/s > Higher Is Better -O3 -march=native ....... 553.52 |============================================= -O1 ..................... 532.56 |=========================================== -O0 ..................... 46.59 |==== -Og ..................... 441.08 |==================================== -O2 ..................... 549.17 |============================================= -O2 -march=native ....... 533.32 |=========================================== -O2 -flto ............... 550.13 |============================================= -O3 ..................... 540.31 |============================================ -O3 -flto ............... 538.67 |============================================ -O3 -march=native -flto . 555.06 |============================================= -Ofast -march=native .... 553.97 |============================================= -Ofast .................. 538.43 |============================================ Botan 2.17.3 Test: CAST-256 MiB/s > Higher Is Better -O3 -march=native ....... 168.76 |=========================================== -O1 ..................... 149.44 |====================================== -O0 ..................... 36.89 |========= -Og ..................... 160.88 |========================================= -O2 ..................... 154.29 |======================================= -O2 -march=native ....... 153.44 |======================================= -O2 -flto ............... 155.16 |======================================= -O3 ..................... 178.21 |============================================= -O3 -flto ............... 170.58 |=========================================== -O3 -march=native -flto . 169.13 |=========================================== -Ofast -march=native .... 168.88 |=========================================== -Ofast .................. 178.33 |============================================= Botan 2.17.3 Test: CAST-256 - Decrypt MiB/s > Higher Is Better -O3 -march=native ....... 168.85 |=========================================== -O1 ..................... 149.81 |====================================== -O0 ..................... 36.34 |========= -Og ..................... 161.42 |========================================= -O2 ..................... 150.17 |====================================== -O2 -march=native ....... 158.89 |======================================== -O2 -flto ............... 158.25 |======================================== -O3 ..................... 178.20 |============================================= -O3 -flto ............... 172.97 |============================================ -O3 -march=native -flto . 168.41 |=========================================== -Ofast -march=native .... 168.83 |=========================================== -Ofast .................. 178.28 |============================================= Botan 2.17.3 Test: ChaCha20Poly1305 - Decrypt MiB/s > Higher Is Better -O3 -march=native ....... 1010.79 |========================================= -O1 ..................... 1004.65 |========================================= -O0 ..................... 76.49 |=== -Og ..................... 969.30 |======================================= -O2 ..................... 901.57 |===================================== -O2 -march=native ....... 1080.31 |============================================ -O2 -flto ............... 907.74 |===================================== -O3 ..................... 960.08 |======================================= -O3 -flto ............... 969.70 |======================================= -O3 -march=native -flto . 1016.89 |========================================= -Ofast -march=native .... 1008.85 |========================================= -Ofast .................. 962.28 |======================================= FLAC Audio Encoding 1.3.2 WAV To FLAC Seconds < Lower Is Better -O3 -march=native ....... 5.937 |====== -O1 ..................... 6.590 |======= -O0 ..................... 41.971 |============================================= -Og ..................... 6.740 |======= -O2 ..................... 6.108 |======= -O2 -march=native ....... 5.941 |====== -O2 -flto ............... 6.063 |======= -O3 ..................... 6.106 |======= -O3 -flto ............... 6.073 |======= -O3 -march=native -flto . 5.938 |====== -Ofast -march=native .... 5.923 |====== -Ofast .................. 6.082 |======= LAME MP3 Encoding 3.100 WAV To MP3 Seconds < Lower Is Better -O3 -march=native ....... 5.473 |============= -O1 ..................... 7.675 |================== -O0 ..................... 19.012 |============================================= -Og ..................... 8.480 |==================== -O2 ..................... 7.357 |================= -O2 -march=native ....... 6.965 |================ -O2 -flto ............... 7.106 |================= -O3 ..................... 5.884 |============== -O3 -flto ............... 5.818 |============== -O3 -march=native -flto . 5.386 |============= -Ofast -march=native .... 5.456 |============= -Ofast .................. 5.861 |============== libjpeg-turbo tjbench 2.1.0 Test: Decompression Throughput Megapixels/sec > Higher Is Better -O3 -march=native ....... 271.68 |============================================= -O1 ..................... 260.26 |=========================================== -O0 ..................... 259.49 |=========================================== -Og ..................... 260.63 |=========================================== -O2 ..................... 261.22 |=========================================== -O2 -march=native ....... 272.81 |============================================= -O2 -flto ............... 260.30 |=========================================== -O3 ..................... 257.85 |========================================== -O3 -flto ............... 260.03 |=========================================== -O3 -march=native -flto . 271.75 |============================================= -Ofast -march=native .... 273.25 |============================================= -Ofast .................. 261.00 |=========================================== Opus Codec Encoding 1.3.1 WAV To Opus Encode Seconds < Lower Is Better -O3 -march=native ....... 5.595 |========== -O1 ..................... 6.828 |============ -O0 ..................... 25.496 |============================================= -Og ..................... 7.699 |============== -O2 ..................... 6.436 |=========== -O2 -march=native ....... 5.906 |========== -O2 -flto ............... 6.632 |============ -O3 ..................... 6.152 |=========== -O3 -flto ............... 6.175 |=========== -O3 -march=native -flto . 5.550 |========== ASTC Encoder 3.0 Preset: Medium Seconds < Lower Is Better -O3 -march=native ....... 4.2153 |=========================================== -O1 ..................... 4.3606 |============================================= -O0 ..................... 4.3715 |============================================= -Og ..................... 4.3511 |============================================= -O2 ..................... 4.3470 |============================================= -O2 -march=native ....... 4.2307 |=========================================== -O2 -flto ............... 4.3697 |============================================= -O3 ..................... 4.3603 |============================================= -O3 -flto ............... 4.3686 |============================================= -O3 -march=native -flto . 4.2359 |============================================ -Ofast -march=native .... 4.2296 |=========================================== -Ofast .................. 4.3786 |============================================= ASTC Encoder 3.0 Preset: Thorough Seconds < Lower Is Better -O3 -march=native ....... 9.3601 |=========================================== -O1 ..................... 9.7734 |============================================= -O0 ..................... 9.8270 |============================================= -Og ..................... 9.8124 |============================================= -O2 ..................... 9.8158 |============================================= -O2 -march=native ....... 9.3662 |=========================================== -O2 -flto ............... 9.8211 |============================================= -O3 ..................... 9.8071 |============================================= -O3 -flto ............... 9.8010 |============================================= -O3 -march=native -flto . 9.3991 |=========================================== -Ofast -march=native .... 9.3948 |=========================================== -Ofast .................. 9.8377 |============================================= ASTC Encoder 3.0 Preset: Exhaustive Seconds < Lower Is Better -O3 -march=native ....... 51.49 |============================================ -O1 ..................... 53.25 |============================================== -O0 ..................... 53.28 |============================================== -Og ..................... 53.27 |============================================== -O2 ..................... 53.28 |============================================== -O2 -march=native ....... 51.49 |============================================ -O2 -flto ............... 53.28 |============================================== -O3 ..................... 53.29 |============================================== -O3 -flto ............... 53.30 |============================================== -O3 -march=native -flto . 51.54 |============================================ -Ofast -march=native .... 51.51 |============================================ -Ofast .................. 53.29 |============================================== eSpeak-NG Speech Engine 20200907 Text-To-Speech Synthesis Seconds < Lower Is Better -O3 -march=native ....... 21.77 |================= -O1 ..................... 24.00 |=================== -O0 ..................... 59.01 |============================================== -Og ..................... 26.89 |===================== -O2 ..................... 21.41 |================= -O2 -march=native ....... 22.23 |================= -O2 -flto ............... 21.66 |================= -O3 ..................... 22.93 |================== -O3 -flto ............... 21.60 |================= -O3 -march=native -flto . 22.66 |================== -Ofast -march=native .... 21.75 |================= -Ofast .................. 22.77 |================== Chia Blockchain VDF 1.0.1 Test: Square Assembly Optimized IPS > Higher Is Better -O3 -march=native ....... 250633 |============================================= -O1 ..................... 247933 |============================================= -O0 ..................... 249533 |============================================= -Og ..................... 247933 |============================================= -O2 ..................... 246700 |============================================ -O2 -march=native ....... 250600 |============================================= -O2 -flto ............... 248033 |============================================= -O3 ..................... 248167 |============================================= -O3 -flto ............... 247867 |============================================= -O3 -march=native -flto . 249567 |============================================= -Ofast -march=native .... 247967 |============================================= -Ofast .................. 246967 |============================================ Timed HMMer Search 3.3.2 Pfam Database Search Seconds < Lower Is Better -O3 -march=native ....... 99.48 |======== -O1 ..................... 103.74 |========= -O0 ..................... 532.07 |============================================= -Og ..................... 114.92 |========== -O2 ..................... 102.36 |========= -O2 -march=native ....... 100.40 |======== -O2 -flto ............... 101.85 |========= -O3 ..................... 103.13 |========= -O3 -flto ............... 102.32 |========= -O3 -march=native -flto . 99.81 |======== -Ofast -march=native .... 89.95 |======== -Ofast .................. 93.79 |======== Timed MrBayes Analysis 3.2.7 Primate Phylogeny Analysis Seconds < Lower Is Better -O3 -march=native ....... 83.43 |============== -O1 ..................... 88.53 |=============== -O0 ..................... 265.31 |============================================= -Og ..................... 93.34 |================ -O2 ..................... 84.36 |============== -O2 -march=native ....... 88.44 |=============== -O2 -flto ............... 85.58 |=============== -O3 ..................... 81.37 |============== -O3 -flto ............... 80.56 |============== -O3 -march=native -flto . 83.30 |============== -Ofast -march=native .... 50.81 |========= -Ofast .................. 46.56 |======== Mobile Neural Network 1.1.3 Model: SqueezeNetV1.0 ms < Lower Is Better -O3 -march=native ....... 3.748 |============================================= -O1 ..................... 3.848 |============================================== -O0 ..................... 3.825 |============================================== -Og ..................... 3.860 |============================================== -O2 ..................... 3.824 |============================================== -O2 -march=native ....... 3.753 |============================================= -O2 -flto ............... 3.767 |============================================= -O3 ..................... 3.838 |============================================== -O3 -flto ............... 3.815 |============================================= -O3 -march=native -flto . 3.706 |============================================ -Ofast -march=native .... 3.741 |============================================= -Ofast .................. 3.845 |============================================== Mobile Neural Network 1.1.3 Model: resnet-v2-50 ms < Lower Is Better -O3 -march=native ....... 19.22 |============================================= -O1 ..................... 19.51 |============================================== -O0 ..................... 19.57 |============================================== -Og ..................... 19.54 |============================================== -O2 ..................... 19.62 |============================================== -O2 -march=native ....... 19.45 |============================================= -O2 -flto ............... 19.33 |============================================= -O3 ..................... 19.67 |============================================== -O3 -flto ............... 19.38 |============================================= -O3 -march=native -flto . 19.29 |============================================= -Ofast -march=native .... 19.32 |============================================= -Ofast .................. 19.54 |============================================== Mobile Neural Network 1.1.3 Model: MobileNetV2_224 ms < Lower Is Better -O3 -march=native ....... 1.916 |============================================ -O1 ..................... 1.982 |============================================== -O0 ..................... 1.966 |============================================== -Og ..................... 1.973 |============================================== -O2 ..................... 1.958 |============================================= -O2 -march=native ....... 1.921 |============================================= -O2 -flto ............... 1.944 |============================================= -O3 ..................... 1.969 |============================================== -O3 -flto ............... 1.962 |============================================== -O3 -march=native -flto . 1.907 |============================================ -Ofast -march=native .... 1.922 |============================================= -Ofast .................. 1.976 |============================================== Mobile Neural Network 1.1.3 Model: mobilenet-v1-1.0 ms < Lower Is Better -O3 -march=native ....... 1.883 |============================================= -O1 ..................... 1.921 |============================================== -O0 ..................... 1.919 |============================================== -Og ..................... 1.931 |============================================== -O2 ..................... 1.920 |============================================== -O2 -march=native ....... 1.884 |============================================= -O2 -flto ............... 1.917 |============================================== -O3 ..................... 1.924 |============================================== -O3 -flto ............... 1.918 |============================================== -O3 -march=native -flto . 1.878 |============================================= -Ofast -march=native .... 1.881 |============================================= -Ofast .................. 1.921 |============================================== Mobile Neural Network 1.1.3 Model: inception-v3 ms < Lower Is Better -O3 -march=native ....... 22.51 |============================================= -O1 ..................... 22.94 |============================================== -O0 ..................... 23.08 |============================================== -Og ..................... 22.93 |============================================== -O2 ..................... 23.07 |============================================== -O2 -march=native ....... 22.79 |============================================= -O2 -flto ............... 22.83 |============================================== -O3 ..................... 23.07 |============================================== -O3 -flto ............... 22.93 |============================================== -O3 -march=native -flto . 22.53 |============================================= -Ofast -march=native .... 22.53 |============================================= -Ofast .................. 22.91 |============================================== TNN 0.2.3 Target: CPU - Model: MobileNet v2 ms < Lower Is Better -O3 -march=native ....... 230.11 |========================================= -O1 ..................... 243.16 |=========================================== -O0 ..................... 243.10 |=========================================== -Og ..................... 243.33 |============================================ -O2 ..................... 243.41 |============================================ -O2 -march=native ....... 230.22 |========================================= -O2 -flto ............... 251.61 |============================================= -O3 ..................... 243.31 |============================================ -O3 -flto ............... 251.49 |============================================= -O3 -march=native -flto . 248.41 |============================================ -Ofast -march=native .... 230.49 |========================================= -Ofast .................. 243.29 |============================================ TNN 0.2.3 Target: CPU - Model: SqueezeNet v1.1 ms < Lower Is Better -O3 -march=native ....... 227.46 |========================================== -O1 ..................... 235.96 |=========================================== -O0 ..................... 236.47 |=========================================== -Og ..................... 235.77 |=========================================== -O2 ..................... 236.33 |=========================================== -O2 -march=native ....... 227.59 |========================================== -O2 -flto ............... 244.63 |============================================= -O3 ..................... 236.43 |=========================================== -O3 -flto ............... 244.59 |============================================= -O3 -march=native -flto . 242.69 |============================================= -Ofast -march=native .... 227.41 |========================================== -Ofast .................. 235.99 |=========================================== Caffe 2020-02-13 Model: GoogleNet - Acceleration: CPU - Iterations: 100 Milli-Seconds < Lower Is Better -O3 -march=native ....... 83625 |============================================= -O1 ..................... 84729 |============================================== -O0 ..................... 84831 |============================================== -Og ..................... 84809 |============================================== -O2 ..................... 84895 |============================================== -O2 -march=native ....... 83638 |============================================= -O2 -flto ............... 83722 |============================================= -O3 ..................... 84845 |============================================== -O3 -flto ............... 83713 |============================================= -O3 -march=native -flto . 84271 |============================================== -Ofast -march=native .... 83693 |============================================= -Ofast .................. 84843 |============================================== NCNN 20201218 Target: CPU - Model: mobilenet ms < Lower Is Better -O3 -march=native ....... 11.76 |================================ -O1 ..................... 15.02 |========================================= -O0 ..................... 15.06 |========================================= -Og ..................... 14.92 |======================================== -O2 ..................... 15.01 |========================================= -O2 -march=native ....... 11.88 |================================ -O2 -flto ............... 16.96 |============================================== -O3 ..................... 15.12 |========================================= -O3 -flto ............... 16.92 |============================================== -O3 -march=native -flto . 13.66 |===================================== -Ofast -march=native .... 11.92 |================================ -Ofast .................. 15.08 |========================================= NCNN 20201218 Target: CPU-v2-v2 - Model: mobilenet-v2 ms < Lower Is Better -O3 -march=native ....... 3.21 |================================== -O1 ..................... 4.19 |============================================ -O0 ..................... 4.18 |============================================ -Og ..................... 4.20 |============================================ -O2 ..................... 4.36 |============================================== -O2 -march=native ....... 3.22 |================================== -O2 -flto ............... 4.46 |=============================================== -O3 ..................... 4.25 |============================================= -O3 -flto ............... 4.46 |=============================================== -O3 -march=native -flto . 3.26 |================================== -Ofast -march=native .... 3.24 |================================== -Ofast .................. 4.20 |============================================ NCNN 20201218 Target: CPU-v3-v3 - Model: mobilenet-v3 ms < Lower Is Better -O3 -march=native ....... 2.49 |================================== -O1 ..................... 3.19 |============================================ -O0 ..................... 3.17 |=========================================== -Og ..................... 3.17 |=========================================== -O2 ..................... 3.25 |============================================ -O2 -march=native ....... 2.50 |================================== -O2 -flto ............... 3.44 |=============================================== -O3 ..................... 3.24 |============================================ -O3 -flto ............... 3.41 |=============================================== -O3 -march=native -flto . 2.54 |=================================== -Ofast -march=native .... 2.51 |================================== -Ofast .................. 3.21 |============================================ NCNN 20201218 Target: CPU - Model: shufflenet-v2 ms < Lower Is Better -O3 -march=native ....... 3.26 |========================= -O1 ..................... 3.45 |=========================== -O0 ..................... 3.46 |=========================== -Og ..................... 3.45 |=========================== -O2 ..................... 3.48 |=========================== -O2 -march=native ....... 3.25 |========================= -O2 -flto ............... 5.97 |============================================== -O3 ..................... 3.46 |=========================== -O3 -flto ............... 6.08 |=============================================== -O3 -march=native -flto . 5.68 |============================================ -Ofast -march=native .... 3.25 |========================= -Ofast .................. 3.47 |=========================== NCNN 20201218 Target: CPU - Model: mnasnet ms < Lower Is Better -O3 -march=native ....... 2.22 |=============================== -O1 ..................... 3.17 |============================================ -O0 ..................... 3.09 |=========================================== -Og ..................... 3.11 |=========================================== -O2 ..................... 3.21 |============================================ -O2 -march=native ....... 2.23 |=============================== -O2 -flto ............... 3.39 |=============================================== -O3 ..................... 3.18 |============================================ -O3 -flto ............... 3.40 |=============================================== -O3 -march=native -flto . 2.28 |================================ -Ofast -march=native .... 2.25 |=============================== -Ofast .................. 3.14 |=========================================== NCNN 20201218 Target: CPU - Model: efficientnet-b0 ms < Lower Is Better -O3 -march=native ....... 4.24 |==================================== -O1 ..................... 5.24 |============================================ -O0 ..................... 5.23 |============================================ -Og ..................... 5.23 |============================================ -O2 ..................... 5.36 |============================================= -O2 -march=native ....... 4.27 |==================================== -O2 -flto ............... 5.54 |=============================================== -O3 ..................... 5.30 |============================================= -O3 -flto ............... 5.54 |=============================================== -O3 -march=native -flto . 4.31 |===================================== -Ofast -march=native .... 4.33 |===================================== -Ofast .................. 5.32 |============================================= NCNN 20201218 Target: CPU - Model: blazeface ms < Lower Is Better -O3 -march=native ....... 1.15 |============================== -O1 ..................... 1.24 |================================ -O0 ..................... 1.19 |=============================== -Og ..................... 1.18 |=============================== -O2 ..................... 1.28 |================================= -O2 -march=native ....... 1.10 |============================= -O2 -flto ............... 1.81 |=============================================== -O3 ..................... 1.24 |================================ -O3 -flto ............... 1.80 |=============================================== -O3 -march=native -flto . 1.80 |=============================================== -Ofast -march=native .... 1.16 |============================== -Ofast .................. 1.22 |================================ NCNN 20201218 Target: CPU - Model: googlenet ms < Lower Is Better -O3 -march=native ....... 10.09 |======================================= -O1 ..................... 11.40 |============================================ -O0 ..................... 11.07 |========================================== -Og ..................... 11.04 |========================================== -O2 ..................... 11.51 |============================================ -O2 -march=native ....... 10.39 |======================================== -O2 -flto ............... 12.01 |============================================== -O3 ..................... 11.52 |============================================ -O3 -flto ............... 11.83 |============================================= -O3 -march=native -flto . 10.64 |========================================= -Ofast -march=native .... 10.15 |======================================= -Ofast .................. 11.43 |============================================ NCNN 20201218 Target: CPU - Model: vgg16 ms < Lower Is Better -O3 -march=native ....... 54.36 |============================================= -O1 ..................... 54.91 |============================================= -O0 ..................... 55.31 |============================================== -Og ..................... 55.34 |============================================== -O2 ..................... 55.17 |============================================= -O2 -march=native ....... 54.59 |============================================= -O2 -flto ............... 55.51 |============================================== -O3 ..................... 55.77 |============================================== -O3 -flto ............... 55.79 |============================================== -O3 -march=native -flto . 55.82 |============================================== -Ofast -march=native .... 55.15 |============================================= -Ofast .................. 55.77 |============================================== NCNN 20201218 Target: CPU - Model: resnet18 ms < Lower Is Better -O3 -march=native ....... 11.08 |============================================ -O1 ..................... 11.47 |============================================= -O0 ..................... 11.30 |============================================= -Og ..................... 11.33 |============================================= -O2 ..................... 11.48 |============================================= -O2 -march=native ....... 11.29 |============================================= -O2 -flto ............... 11.67 |============================================== -O3 ..................... 11.51 |============================================= -O3 -flto ............... 11.65 |============================================== -O3 -march=native -flto . 11.45 |============================================= -Ofast -march=native .... 11.16 |============================================ -Ofast .................. 11.37 |============================================= NCNN 20201218 Target: CPU - Model: resnet50 ms < Lower Is Better -O3 -march=native ....... 18.23 |==================================== -O1 ..................... 22.29 |============================================ -O0 ..................... 22.36 |============================================ -Og ..................... 22.12 |=========================================== -O2 ..................... 22.34 |============================================ -O2 -march=native ....... 18.51 |==================================== -O2 -flto ............... 23.42 |============================================== -O3 ..................... 22.41 |============================================ -O3 -flto ............... 23.39 |============================================== -O3 -march=native -flto . 18.75 |===================================== -Ofast -march=native .... 18.39 |==================================== -Ofast .................. 22.29 |============================================ NCNN 20201218 Target: CPU - Model: yolov4-tiny ms < Lower Is Better -O3 -march=native ....... 20.21 |====================================== -O1 ..................... 21.26 |======================================== -O0 ..................... 21.37 |======================================== -Og ..................... 20.96 |======================================= -O2 ..................... 21.24 |======================================== -O2 -march=native ....... 20.32 |====================================== -O2 -flto ............... 24.58 |============================================== -O3 ..................... 21.41 |======================================== -O3 -flto ............... 24.50 |============================================== -O3 -march=native -flto . 23.82 |============================================= -Ofast -march=native .... 20.66 |======================================= -Ofast .................. 21.27 |======================================== NCNN 20201218 Target: CPU - Model: squeezenet_ssd ms < Lower Is Better -O3 -march=native ....... 15.29 |========================================== -O1 ..................... 16.18 |============================================= -O0 ..................... 16.18 |============================================= -Og ..................... 16.16 |============================================= -O2 ..................... 16.25 |============================================= -O2 -march=native ....... 15.46 |=========================================== -O2 -flto ............... 16.63 |============================================== -O3 ..................... 16.33 |============================================= -O3 -flto ............... 16.66 |============================================== -O3 -march=native -flto . 15.89 |============================================ -Ofast -march=native .... 15.65 |=========================================== -Ofast .................. 16.34 |============================================= NCNN 20201218 Target: CPU - Model: regnety_400m ms < Lower Is Better -O3 -march=native ....... 8.57 |====================================== -O1 ..................... 9.73 |=========================================== -O0 ..................... 9.59 |=========================================== -Og ..................... 9.65 |=========================================== -O2 ..................... 9.64 |=========================================== -O2 -march=native ....... 8.75 |======================================= -O2 -flto ............... 10.27 |============================================== -O3 ..................... 9.71 |=========================================== -O3 -flto ............... 10.34 |============================================== -O3 -march=native -flto . 8.92 |======================================== -Ofast -march=native .... 8.60 |====================================== -Ofast .................. 9.72 |=========================================== NCNN 20201218 Target: CPU - Model: alexnet ms < Lower Is Better -O0 ..................... 9.63 |============================================== -Og ..................... 9.64 |============================================== -O2 ..................... 9.65 |============================================== -O2 -march=native ....... 9.69 |============================================== -O2 -flto ............... 9.83 |=============================================== -O3 ..................... 9.68 |============================================== -O3 -flto ............... 9.82 |=============================================== -O3 -march=native -flto . 9.74 |=============================================== -Ofast -march=native .... 9.68 |============================================== -Ofast .................. 9.72 |============================================== LAMMPS Molecular Dynamics Simulator 29Oct2020 Model: 20k Atoms ns/day > Higher Is Better -O3 -march=native ....... 8.737 |============================================== -O1 ..................... 8.345 |============================================ -O0 ..................... 8.368 |============================================ -Og ..................... 8.356 |============================================ -O2 ..................... 8.314 |============================================ -O2 -march=native ....... 8.755 |============================================== -O2 -flto ............... 8.267 |=========================================== -O3 ..................... 8.295 |============================================ -O3 -flto ............... 8.335 |============================================ -O3 -march=native -flto . 8.757 |============================================== -Ofast -march=native .... 8.739 |============================================== -Ofast .................. 8.348 |============================================ LAMMPS Molecular Dynamics Simulator 29Oct2020 Model: Rhodopsin Protein ns/day > Higher Is Better -O3 -march=native ....... 8.513 |============================================= -O1 ..................... 8.184 |============================================ -O0 ..................... 8.093 |=========================================== -Og ..................... 8.121 |=========================================== -O2 ..................... 8.012 |=========================================== -O2 -march=native ....... 8.499 |============================================= -O2 -flto ............... 8.001 |=========================================== -O3 ..................... 8.135 |=========================================== -O3 -flto ............... 8.109 |=========================================== -O3 -march=native -flto . 8.619 |============================================== -Ofast -march=native .... 8.510 |============================================= -Ofast .................. 8.032 |=========================================== oneDNN 2.1.2 Harness: IP Shapes 3D - Data Type: f32 - Engine: CPU ms < Lower Is Better -O3 -march=native ....... 11.20 |============================================== -O1 ..................... 11.03 |============================================= -O0 ..................... 11.07 |============================================= -Og ..................... 10.59 |=========================================== -O2 ..................... 11.24 |============================================== -O2 -march=native ....... 11.24 |============================================== -O2 -flto ............... 11.23 |============================================== -O3 ..................... 11.24 |============================================== -O3 -flto ............... 11.22 |============================================== -O3 -march=native -flto . 11.23 |============================================== -Ofast -march=native .... 11.22 |============================================== -Ofast .................. 11.24 |============================================== oneDNN 2.1.2 Harness: Recurrent Neural Network Training - Data Type: f32 - Engine: CPU ms < Lower Is Better -O3 -march=native ....... 3165.60 |============================================ -O1 ..................... 3133.28 |=========================================== -O0 ..................... 3143.03 |=========================================== -Og ..................... 3127.13 |=========================================== -O2 ..................... 3168.45 |============================================ -O2 -march=native ....... 3171.69 |============================================ -O2 -flto ............... 3182.48 |============================================ -O3 ..................... 3177.98 |============================================ -O3 -flto ............... 3177.88 |============================================ -O3 -march=native -flto . 3177.57 |============================================ -Ofast -march=native .... 3180.01 |============================================ -Ofast .................. 3177.34 |============================================ oneDNN 2.1.2 Harness: Recurrent Neural Network Inference - Data Type: f32 - Engine: CPU ms < Lower Is Better -O3 -march=native ....... 1876.42 |============================================ -O1 ..................... 1854.40 |=========================================== -O0 ..................... 1860.28 |=========================================== -Og ..................... 1836.67 |=========================================== -O2 ..................... 1876.16 |============================================ -O2 -march=native ....... 1880.88 |============================================ -O2 -flto ............... 1883.34 |============================================ -O3 ..................... 1880.75 |============================================ -O3 -flto ............... 1877.44 |============================================ -O3 -march=native -flto . 1878.45 |============================================ -Ofast -march=native .... 1880.54 |============================================ -Ofast .................. 1880.71 |============================================ PostMark 1.51 Disk Transaction Performance TPS > Higher Is Better -O3 -march=native ....... 9496 |=============================================== -O1 ..................... 9259 |============================================== -O0 ..................... 9149 |============================================= -Og ..................... 9259 |============================================== -O2 ..................... 9259 |============================================== -O2 -march=native ....... 9259 |============================================== -O2 -flto ............... 9259 |============================================== -O3 ..................... 9149 |============================================= -O3 -flto ............... 9149 |============================================= -O3 -march=native -flto . 9259 |============================================== -Ofast -march=native .... 9259 |============================================== -Ofast .................. 9149 |============================================= Coremark 1.0 CoreMark Size 666 - Iterations Per Second Iterations/Sec > Higher Is Better -O3 -march=native ....... 434724.85 |========================================= -O1 ..................... 366951.48 |================================== -O0 ..................... 90409.83 |======== -Og ..................... 261573.76 |======================== -O2 ..................... 428580.32 |======================================== -O2 -march=native ....... 423569.01 |======================================= -O2 -flto ............... 429492.03 |======================================== -O3 ..................... 440872.96 |========================================= -O3 -flto ............... 427503.80 |======================================== -O3 -march=native -flto . 436079.65 |========================================= -Ofast -march=native .... 435243.25 |========================================= -Ofast .................. 450629.16 |========================================== Zstd Compression 1.5.0 Compression Level: 3 - Compression Speed MB/s > Higher Is Better -O3 -march=native ....... 2731.5 |============================================= -O1 ..................... 2568.0 |========================================== -O0 ..................... 1005.1 |================= -Og ..................... 2376.3 |======================================= -O2 ..................... 2707.6 |============================================= -O2 -march=native ....... 2729.4 |============================================= -O2 -flto ............... 2723.2 |============================================= -O3 ..................... 2660.5 |============================================ -O3 -flto ............... 2712.7 |============================================= -O3 -march=native -flto . 2719.6 |============================================= -Ofast -march=native .... 2711.4 |============================================= -Ofast .................. 2658.3 |============================================ Zstd Compression 1.5.0 Compression Level: 3 - Decompression Speed MB/s > Higher Is Better -O3 -march=native ....... 4997.8 |=========================================== -O1 ..................... 4847.5 |========================================== -O0 ..................... 1030.1 |========= -Og ..................... 3791.4 |================================= -O2 ..................... 5191.9 |============================================= -O2 -march=native ....... 5093.5 |============================================ -O2 -flto ............... 5087.0 |============================================ -O3 ..................... 5151.9 |============================================= -O3 -flto ............... 4972.9 |=========================================== -O3 -march=native -flto . 4935.5 |=========================================== -Ofast -march=native .... 4991.4 |=========================================== -Ofast .................. 5174.7 |============================================= Zstd Compression 1.5.0 Compression Level: 8 - Compression Speed MB/s > Higher Is Better -O3 -march=native ....... 192.6 |============================================== -O1 ..................... 189.2 |============================================= -O0 ..................... 180.9 |=========================================== -Og ..................... 190.8 |============================================= -O2 ..................... 191.8 |============================================= -O2 -march=native ....... 190.5 |============================================= -O2 -flto ............... 194.0 |============================================== -O3 ..................... 192.5 |============================================== -O3 -flto ............... 194.3 |============================================== -O3 -march=native -flto . 192.7 |============================================== -Ofast -march=native .... 189.8 |============================================= -Ofast .................. 188.6 |============================================= Zstd Compression 1.5.0 Compression Level: 8 - Decompression Speed MB/s > Higher Is Better -O3 -march=native ....... 5189.9 |=========================================== -O1 ..................... 5075.8 |========================================== -O0 ..................... 1087.0 |========= -Og ..................... 3939.4 |================================= -O2 ..................... 5394.8 |============================================= -O2 -march=native ....... 5324.1 |============================================ -O2 -flto ............... 5207.4 |=========================================== -O3 ..................... 5332.9 |============================================ -O3 -flto ............... 5121.7 |=========================================== -O3 -march=native -flto . 5105.5 |=========================================== -Ofast -march=native .... 5209.0 |=========================================== -Ofast .................. 5383.8 |============================================= Zstd Compression 1.5.0 Compression Level: 8, Long Mode - Compression Speed MB/s > Higher Is Better -O3 -march=native ....... 285.9 |========================================== -O1 ..................... 281.5 |========================================= -O0 ..................... 244.1 |=================================== -Og ..................... 316.6 |============================================== -O2 ..................... 298.9 |=========================================== -O2 -march=native ....... 277.0 |======================================== -O2 -flto ............... 299.1 |=========================================== -O3 ..................... 308.4 |============================================= -O3 -flto ............... 306.7 |============================================= -O3 -march=native -flto . 287.7 |========================================== -Ofast -march=native .... 276.5 |======================================== -Ofast .................. 300.7 |============================================ Zstd Compression 1.5.0 Compression Level: 8, Long Mode - Decompression Speed MB/s > Higher Is Better -O3 -march=native ....... 5542.9 |=========================================== -O1 ..................... 5385.7 |========================================== -O0 ..................... 1206.4 |========= -Og ..................... 4236.9 |================================= -O2 ..................... 5749.7 |============================================= -O2 -march=native ....... 5649.1 |============================================ -O2 -flto ............... 5628.6 |============================================ -O3 ..................... 5676.9 |============================================ -O3 -flto ............... 5474.8 |=========================================== -O3 -march=native -flto . 5478.3 |=========================================== -Ofast -march=native .... 5529.2 |=========================================== -Ofast .................. 5734.4 |============================================= Zstd Compression 1.5.0 Compression Level: 19, Long Mode - Decompression Speed MB/s > Higher Is Better -O3 -march=native ....... 4540.6 |=========================================== -O1 ..................... 4506.0 |========================================== -O0 ..................... 1066.8 |========== -Og ..................... 3476.6 |================================= -O2 ..................... 4791.0 |============================================= -O2 -march=native ....... 4676.5 |============================================ -O2 -flto ............... 4693.2 |============================================ -O3 ..................... 4720.0 |============================================ -O3 -flto ............... 4602.9 |=========================================== -O3 -march=native -flto . 4591.0 |=========================================== -Ofast -march=native .... 4589.4 |=========================================== -Ofast .................. 4725.4 |============================================ Zstd Compression 1.5.0 Compression Level: 19, Long Mode - Compression Speed MB/s > Higher Is Better -O0 ..................... 20.2 |============================= -Og ..................... 31.9 |============================================= -O2 ..................... 32.8 |============================================== -O2 -march=native ....... 32.9 |=============================================== -O2 -flto ............... 32.5 |============================================== -O3 ..................... 33.2 |=============================================== -O3 -flto ............... 32.7 |============================================== -O3 -march=native -flto . 32.9 |=============================================== -Ofast -march=native .... 33.1 |=============================================== -Ofast .................. 33.1 |=============================================== AOBench Size: 2048 x 2048 - Total Time Seconds < Lower Is Better -O3 -march=native ....... 21.56 |======================== -O1 ..................... 24.61 |============================ -O0 ..................... 40.88 |============================================== -Og ..................... 34.36 |======================================= -O2 ..................... 24.43 |=========================== -O2 -march=native ....... 22.65 |========================= -O2 -flto ............... 24.27 |=========================== -O3 ..................... 23.69 |=========================== -O3 -flto ............... 23.37 |========================== -O3 -march=native -flto . 21.54 |======================== -Ofast -march=native .... 21.54 |======================== -Ofast .................. 22.99 |========================== GraphicsMagick 1.3.33 Operation: Swirl Iterations Per Minute > Higher Is Better -O3 -march=native ....... 689 |============================================= -O1 ..................... 592 |======================================= -O0 ..................... 378 |========================= -Og ..................... 581 |====================================== -O2 ..................... 622 |========================================= -O2 -march=native ....... 682 |============================================= -O2 -flto ............... 617 |======================================== -O3 ..................... 625 |========================================= -O3 -flto ............... 612 |======================================== -O3 -march=native -flto . 693 |============================================= -Ofast -march=native .... 735 |================================================ -Ofast .................. 659 |=========================================== GraphicsMagick 1.3.33 Operation: Rotate Iterations Per Minute > Higher Is Better -O3 -march=native ....... 1094 |============================================== -O1 ..................... 1078 |============================================= -O0 ..................... 1063 |============================================= -Og ..................... 1115 |=============================================== -O2 ..................... 1072 |============================================= -O2 -march=native ....... 1075 |============================================= -O2 -flto ............... 1079 |============================================= -O3 ..................... 1077 |============================================= -O3 -flto ............... 1074 |============================================= -O3 -march=native -flto . 1076 |============================================= -Ofast -march=native .... 1077 |============================================= -Ofast .................. 1075 |============================================= GraphicsMagick 1.3.33 Operation: Sharpen Iterations Per Minute > Higher Is Better -O3 -march=native ....... 195 |=========================================== -O1 ..................... 162 |==================================== -O0 ..................... 50 |=========== -Og ..................... 87 |=================== -O2 ..................... 164 |==================================== -O2 -march=native ....... 197 |============================================ -O2 -flto ............... 163 |==================================== -O3 ..................... 164 |==================================== -O3 -flto ............... 164 |==================================== -O3 -march=native -flto . 195 |=========================================== -Ofast -march=native .... 217 |================================================ -Ofast .................. 162 |==================================== GraphicsMagick 1.3.33 Operation: Enhanced Iterations Per Minute > Higher Is Better -O3 -march=native ....... 270 |=========================================== -O1 ..................... 218 |=================================== -O0 ..................... 80 |============= -Og ..................... 213 |================================== -O2 ..................... 219 |=================================== -O2 -march=native ....... 265 |=========================================== -O2 -flto ............... 218 |=================================== -O3 ..................... 213 |================================== -O3 -flto ............... 214 |================================== -O3 -march=native -flto . 270 |=========================================== -Ofast -march=native .... 299 |================================================ -Ofast .................. 228 |===================================== GraphicsMagick 1.3.33 Operation: Resizing Iterations Per Minute > Higher Is Better -O3 -march=native ....... 1222 |=============================================== -O1 ..................... 1021 |======================================= -O0 ..................... 422 |================ -Og ..................... 763 |============================= -O2 ..................... 1092 |========================================== -O2 -march=native ....... 1230 |=============================================== -O2 -flto ............... 1089 |========================================== -O3 ..................... 1078 |========================================= -O3 -flto ............... 1086 |========================================= -O3 -march=native -flto . 1231 |=============================================== -Ofast -march=native .... 1228 |=============================================== -Ofast .................. 1078 |========================================= GraphicsMagick 1.3.33 Operation: Noise-Gaussian Iterations Per Minute > Higher Is Better -O3 -march=native ....... 310 |========================================== -O1 ..................... 306 |========================================== -O0 ..................... 188 |========================== -Og ..................... 281 |====================================== -O2 ..................... 304 |========================================= -O2 -march=native ....... 312 |=========================================== -O2 -flto ............... 303 |========================================= -O3 ..................... 301 |========================================= -O3 -flto ............... 305 |========================================== -O3 -march=native -flto . 314 |=========================================== -Ofast -march=native .... 352 |================================================ -Ofast .................. 348 |=============================================== GraphicsMagick 1.3.33 Operation: HWB Color Space Iterations Per Minute > Higher Is Better -O3 -march=native ....... 1285 |============================================= -O1 ..................... 1207 |========================================== -O0 ..................... 881 |=============================== -Og ..................... 1207 |========================================== -O2 ..................... 1235 |=========================================== -O2 -march=native ....... 1245 |=========================================== -O2 -flto ............... 1345 |=============================================== -O3 ..................... 1239 |=========================================== -O3 -flto ............... 1343 |=============================================== -O3 -march=native -flto . 1349 |=============================================== -Ofast -march=native .... 1275 |============================================ -Ofast .................. 1267 |============================================ SVT-VP9 0.3 Tuning: VMAF Optimized - Input: Bosphorus 1080p Frames Per Second > Higher Is Better -O3 -march=native ....... 198.73 |============================================= -O1 ..................... 191.41 |=========================================== -O0 ..................... 193.96 |============================================ -Og ..................... 193.57 |============================================ -O2 ..................... 192.87 |============================================ -O2 -march=native ....... 195.03 |============================================ -O2 -flto ............... 193.70 |============================================ -O3 ..................... 191.35 |=========================================== -O3 -flto ............... 193.53 |============================================ -O3 -march=native -flto . 195.12 |============================================ -Ofast -march=native .... 193.79 |============================================ -Ofast .................. 190.49 |=========================================== SVT-VP9 0.3 Tuning: PSNR/SSIM Optimized - Input: Bosphorus 1080p Frames Per Second > Higher Is Better -O3 -march=native ....... 204.96 |============================================= -O1 ..................... 198.18 |============================================ -O0 ..................... 198.38 |============================================ -Og ..................... 197.85 |=========================================== -O2 ..................... 197.89 |=========================================== -O2 -march=native ....... 198.90 |============================================ -O2 -flto ............... 198.86 |============================================ -O3 ..................... 196.43 |=========================================== -O3 -flto ............... 198.37 |============================================ -O3 -march=native -flto . 199.57 |============================================ -Ofast -march=native .... 197.26 |=========================================== -Ofast .................. 195.23 |=========================================== SVT-VP9 0.3 Tuning: Visual Quality Optimized - Input: Bosphorus 1080p Frames Per Second > Higher Is Better -O3 -march=native ....... 166.43 |============================================= -O1 ..................... 160.73 |=========================================== -O0 ..................... 160.72 |=========================================== -Og ..................... 161.02 |============================================ -O2 ..................... 160.47 |=========================================== -O2 -march=native ....... 164.42 |============================================ -O2 -flto ............... 162.81 |============================================ -O3 ..................... 159.86 |=========================================== -O3 -flto ............... 162.78 |============================================ -O3 -march=native -flto . 165.01 |============================================= -Ofast -march=native .... 163.33 |============================================ -Ofast .................. 159.74 |=========================================== dav1d 0.9.0 Video Input: Summer Nature 4K FPS > Higher Is Better -O3 -march=native .... 195.94 |================================================ -O1 .................. 185.95 |============================================== -O0 .................. 146.06 |==================================== -Og .................. 184.01 |============================================= -O2 .................. 187.10 |============================================== -O2 -march=native .... 185.36 |============================================= -O3 .................. 181.31 |============================================ -Ofast -march=native . 179.95 |============================================ -Ofast ............... 180.05 |============================================ x265 3.4 Video Input: Bosphorus 4K Frames Per Second > Higher Is Better -O3 -march=native ....... 16.02 |============================================== -O1 ..................... 15.72 |============================================= -O0 ..................... 15.65 |============================================= -Og ..................... 15.38 |============================================ -O2 ..................... 15.74 |============================================= -O2 -march=native ....... 15.89 |============================================== -O2 -flto ............... 15.48 |============================================ -O3 ..................... 15.55 |============================================= -O3 -flto ............... 15.38 |============================================ -O3 -march=native -flto . 15.27 |============================================ -Ofast -march=native .... 15.41 |============================================ -Ofast .................. 15.67 |============================================= C-Ray 1.1 Total Time - 4K, 16 Rays Per Pixel Seconds < Lower Is Better -O3 -march=native ....... 47.34 |=========== -O1 ..................... 128.91 |============================== -O0 ..................... 191.79 |============================================= -Og ..................... 130.02 |=============================== -O2 ..................... 106.49 |========================= -O2 -march=native ....... 84.73 |==================== -O2 -flto ............... 106.60 |========================= -O3 ..................... 66.47 |================ -O3 -flto ............... 66.35 |================ -O3 -march=native -flto . 47.46 |=========== -Ofast -march=native .... 46.14 |=========== -Ofast .................. 63.75 |=============== SVT-HEVC 1.5.0 Tuning: 1 - Input: Bosphorus 1080p Frames Per Second > Higher Is Better -O3 -march=native ....... 9.48 |============================================== -O1 ..................... 9.20 |============================================ -O0 ..................... 9.20 |============================================ -Og ..................... 9.21 |============================================ -O2 ..................... 9.21 |============================================ -O2 -march=native ....... 9.47 |============================================== -O2 -flto ............... 9.51 |============================================== -O3 ..................... 9.19 |============================================ -O3 -flto ............... 9.51 |============================================== -O3 -march=native -flto . 9.74 |=============================================== -Ofast -march=native .... 9.46 |============================================== -Ofast .................. 9.20 |============================================ SVT-HEVC 1.5.0 Tuning: 7 - Input: Bosphorus 1080p Frames Per Second > Higher Is Better -O3 -march=native ....... 140.40 |============================================ -O1 ..................... 137.23 |=========================================== -O0 ..................... 137.47 |============================================ -Og ..................... 137.30 |=========================================== -O2 ..................... 137.13 |=========================================== -O2 -march=native ....... 139.61 |============================================ -O2 -flto ............... 140.32 |============================================ -O3 ..................... 136.89 |=========================================== -O3 -flto ............... 140.48 |============================================= -O3 -march=native -flto . 142.04 |============================================= -Ofast -march=native .... 138.97 |============================================ -Ofast .................. 136.73 |=========================================== SVT-HEVC 1.5.0 Tuning: 10 - Input: Bosphorus 1080p Frames Per Second > Higher Is Better -O3 -march=native ....... 279.12 |============================================= -O1 ..................... 271.99 |============================================ -O0 ..................... 273.72 |============================================ -Og ..................... 271.78 |============================================ -O2 ..................... 271.66 |============================================ -O2 -march=native ....... 274.64 |============================================ -O2 -flto ............... 274.39 |============================================ -O3 ..................... 270.19 |============================================ -O3 -flto ............... 273.85 |============================================ -O3 -march=native -flto . 275.57 |============================================ -Ofast -march=native .... 271.62 |============================================ -Ofast .................. 267.46 |=========================================== Smallpt 1.0 Global Illumination Renderer; 128 Samples Seconds < Lower Is Better -O3 -march=native ....... 8.401 |============= -O1 ..................... 9.133 |============== -O0 ..................... 29.094 |============================================= -Og ..................... 10.690 |================= -O2 ..................... 8.770 |============== -O2 -march=native ....... 7.886 |============ -O2 -flto ............... 8.703 |============= -O3 ..................... 9.029 |============== -O3 -flto ............... 9.088 |============== -O3 -march=native -flto . 8.457 |============= -Ofast -march=native .... 8.290 |============= -Ofast .................. 8.590 |============= Liquid-DSP 2021.01.31 Threads: 1 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O3 -march=native ....... 99844333 |=========================================== -O1 ..................... 88411000 |====================================== -O0 ..................... 11024000 |===== -Og ..................... 66759667 |============================= -O2 ..................... 92384333 |======================================== -O2 -march=native ....... 97389667 |========================================== -O2 -flto ............... 92353667 |======================================== -O3 ..................... 95463333 |========================================= -O3 -flto ............... 95045333 |========================================= -O3 -march=native -flto . 99749333 |=========================================== -Ofast -march=native .... 96017000 |========================================= -Ofast .................. 94333667 |========================================= Liquid-DSP 2021.01.31 Threads: 2 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O3 -march=native ....... 188003333 |========================================== -O1 ..................... 162046667 |==================================== -O0 ..................... 21299667 |===== -Og ..................... 126890000 |============================ -O2 ..................... 173196667 |====================================== -O2 -march=native ....... 184670000 |========================================= -O2 -flto ............... 173536667 |======================================= -O3 ..................... 175400000 |======================================= -O3 -flto ............... 178046667 |======================================== -O3 -march=native -flto . 189120000 |========================================== -Ofast -march=native .... 182180000 |======================================== -Ofast .................. 178193333 |======================================== Liquid-DSP 2021.01.31 Threads: 4 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O3 -march=native ....... 363760000 |========================================== -O1 ..................... 316710000 |===================================== -O0 ..................... 41181333 |===== -Og ..................... 242253333 |============================ -O2 ..................... 335913333 |======================================= -O2 -march=native ....... 355393333 |========================================= -O2 -flto ............... 335793333 |======================================= -O3 ..................... 341970000 |======================================= -O3 -flto ............... 345733333 |======================================== -O3 -march=native -flto . 363303333 |========================================== -Ofast -march=native .... 349460000 |======================================== -Ofast .................. 341200000 |======================================= Liquid-DSP 2021.01.31 Threads: 8 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O3 -march=native ....... 687846667 |========================================== -O1 ..................... 595816667 |==================================== -O0 ..................... 78172667 |===== -Og ..................... 462596667 |============================ -O2 ..................... 637103333 |======================================= -O2 -march=native ....... 674180000 |========================================= -O2 -flto ............... 637113333 |======================================= -O3 ..................... 646743333 |======================================= -O3 -flto ............... 650283333 |======================================== -O3 -march=native -flto . 687796667 |========================================== -Ofast -march=native .... 671553333 |========================================= -Ofast .................. 648636667 |======================================== Liquid-DSP 2021.01.31 Threads: 16 - Buffer Length: 256 - Filter Length: 57 samples/s > Higher Is Better -O3 -march=native ....... 722756667 |========================================== -O1 ..................... 672296667 |======================================= -O0 ..................... 90397667 |===== -Og ..................... 517440000 |============================== -O2 ..................... 711676667 |========================================= -O2 -march=native ....... 721436667 |========================================== -O2 -flto ............... 707806667 |========================================= -O3 ..................... 711086667 |========================================= -O3 -flto ............... 713980000 |========================================= -O3 -march=native -flto . 722200000 |========================================== -Ofast -march=native .... 684946667 |======================================== -Ofast .................. 671610000 |======================================= Redis 6.0.9 Test: GET Requests Per Second > Higher Is Better -O3 -march=native ....... 4049394.67 |========================================= -O1 ..................... 3982525.83 |======================================== -O0 ..................... 3975306.33 |======================================== -Og ..................... 4019272.00 |======================================== -O2 ..................... 4081087.33 |========================================= -O2 -march=native ....... 4054268.33 |========================================= -O2 -flto ............... 4021727.25 |======================================== -O3 ..................... 4056377.08 |========================================= -O3 -flto ............... 4018545.17 |======================================== -O3 -march=native -flto . 4042208.58 |========================================= -Ofast -march=native .... 4038893.75 |========================================= -Ofast .................. 4026735.50 |======================================== SQLite Speedtest 3.30 Timed Time - Size 1,000 Seconds < Lower Is Better -O3 -march=native ....... 46.09 |========================== -O1 ..................... 49.01 |============================ -O0 ..................... 80.89 |============================================== -Og ..................... 52.67 |============================== -O2 ..................... 46.31 |========================== -O2 -march=native ....... 46.09 |========================== -O2 -flto ............... 46.23 |========================== -O3 ..................... 46.35 |========================== -O3 -flto ............... 46.54 |========================== -O3 -march=native -flto . 46.92 |=========================== -Ofast -march=native .... 46.59 |========================== -Ofast .................. 47.00 |=========================== PJSIP 2.11 Method: INVITE Responses Per Second > Higher Is Better -O3 -march=native ....... 5060 |=============================================== -O1 ..................... 4993 |============================================== -O0 ..................... 4816 |============================================ -Og ..................... 4884 |============================================= -O2 ..................... 4962 |============================================== -O2 -march=native ....... 5009 |============================================== -O2 -flto ............... 5114 |=============================================== -O3 ..................... 4953 |============================================== -O3 -flto ............... 5049 |============================================== -O3 -march=native -flto . 5061 |=============================================== -Ofast -march=native .... 5089 |=============================================== -Ofast .................. 5035 |============================================== PJSIP 2.11 Method: OPTIONS, Stateful Responses Per Second > Higher Is Better -O3 -march=native ....... 9375 |=============================================== -O1 ..................... 9333 |=============================================== -O0 ..................... 9189 |============================================== -Og ..................... 9311 |=============================================== -O2 ..................... 9366 |=============================================== -O2 -march=native ....... 9380 |=============================================== -O2 -flto ............... 9406 |=============================================== -O3 ..................... 9375 |=============================================== -O3 -flto ............... 9405 |=============================================== -O3 -march=native -flto . 9396 |=============================================== -Ofast -march=native .... 9381 |=============================================== -Ofast .................. 9384 |=============================================== PJSIP 2.11 Method: OPTIONS, Stateless Responses Per Second > Higher Is Better -O3 -march=native ....... 254610 |============================================= -O1 ..................... 247106 |=========================================== -O0 ..................... 215182 |====================================== -Og ..................... 247454 |=========================================== -O2 ..................... 253466 |============================================ -O2 -march=native ....... 252495 |============================================ -O2 -flto ............... 255114 |============================================= -O3 ..................... 253887 |============================================ -O3 -flto ............... 256859 |============================================= -O3 -march=native -flto . 255381 |============================================= -Ofast -march=native .... 252869 |============================================ -Ofast .................. 252647 |============================================