ARMv7 Cortex A9 GCC 4.7 LTO Link-Time Optimizations GCC 4.7 benchmarks of GCC 4.7.2 LTO. Testing the compiler link-time optimization performance with the -flto CFLAGS/CXXFLAGS. Benchmarking from a NVIDIA tegra 3 Cardhu quad-core ARM Cortex-A9 tablet. Benchmarking for future article on Phoronix by Michael Larabel.
HTML result view exported from: https://openbenchmarking.org/result/1303016-PTS-GCC48ARM14&grt .
ARMv7 Cortex A9 GCC 4.7 LTO Link-Time Optimizations Processor Motherboard Memory Disk Graphics Network OS Kernel Compiler File-System Screen Resolution Stock GCC LTO ARMv7 rev 9 @ 1.40GHz (4 Cores) cardhu 1024MB 16GB SEM16G + 32GB SD32G NVIDIA TEGRA Realtek RTL8111/8168B Ubuntu 13.04 3.1.10-gfc993d9 (armv7l) GCC 4.7 ext3 1366x1536 OpenBenchmarking.org Compiler Details - --build=arm-linux-gnueabihf --disable-cloog-version-check --disable-libitm --disable-ppl-version-check --disable-sjlj-exceptions --disable-werror --enable-checking=release --enable-clocale=gnu --enable-cloog-backend=ppl --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multiarch --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf --with-arch=armv7-a --with-cloog --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb -v Processor Details - Scaling Governor: ondemand
ARMv7 Cortex A9 GCC 4.7 LTO Link-Time Optimizations ffmpeg: H.264 HD To NTSC DV encode-flac: WAV To FLAC graphics-magick: Blur graphics-magick: Sharpen graphics-magick: Resizing graphics-magick: HWB Color Space graphics-magick: Local Adaptive Thresholding encode-mp3: WAV To MP3 nero2d: Total Time build-imagemagick: Time To Compile build-php: Time To Compile vpxenc: vpxenc Stock GCC LTO 354.36 40.58 17 15 25 33 17 93.26 4374.94 1123.07 492.43 0.40 354.49 40.65 19 16 25 37 17 89.29 4223.39 1627.51 1210.48 0.40 OpenBenchmarking.org
FFmpeg H.264 HD To NTSC DV OpenBenchmarking.org Seconds, Fewer Is Better FFmpeg 1.1 H.264 HD To NTSC DV Stock GCC LTO 80 160 240 320 400 SE +/- 1.60, N = 3 SE +/- 1.74, N = 3 354.36 354.49 1. (CC) gcc options: -lavdevice -lavfilter -lavformat -lavcodec -lswresample -lswscale -lavutil -ldl -lm -pthread
FLAC Audio Encoding WAV To FLAC OpenBenchmarking.org Seconds, Fewer Is Better FLAC Audio Encoding 1.2.1 WAV To FLAC Stock GCC LTO 9 18 27 36 45 SE +/- 0.50, N = 5 SE +/- 0.62, N = 5 40.58 40.65 -flto 1. (CXX) g++ options: -O2 -logg -lm
GraphicsMagick Operation: Blur OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Blur Stock GCC LTO 5 10 15 20 25 SE +/- 0.33, N = 3 SE +/- 0.00, N = 3 17 19 -flto 1. (CC) gcc options: -std=gnu99 -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread
GraphicsMagick Operation: Sharpen OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Sharpen Stock GCC LTO 4 8 12 16 20 SE +/- 0.25, N = 4 SE +/- 0.25, N = 4 15 16 -flto 1. (CC) gcc options: -std=gnu99 -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread
GraphicsMagick Operation: Resizing OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Resizing Stock GCC LTO 6 12 18 24 30 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 25 25 -flto 1. (CC) gcc options: -std=gnu99 -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread
GraphicsMagick Operation: HWB Color Space OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: HWB Color Space Stock GCC LTO 9 18 27 36 45 SE +/- 0.67, N = 3 SE +/- 0.33, N = 3 33 37 -flto 1. (CC) gcc options: -std=gnu99 -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread
GraphicsMagick Operation: Local Adaptive Thresholding OpenBenchmarking.org Iterations Per Minute, More Is Better GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding Stock GCC LTO 4 8 12 16 20 SE +/- 0.29, N = 4 SE +/- 0.29, N = 4 17 17 -flto 1. (CC) gcc options: -std=gnu99 -fopenmp -O2 -pthread -lz -lm -lgomp -lpthread
LAME MP3 Encoding WAV To MP3 OpenBenchmarking.org Seconds, Fewer Is Better LAME MP3 Encoding 3.99.3 WAV To MP3 Stock GCC LTO 20 40 60 80 100 SE +/- 0.05, N = 5 SE +/- 0.03, N = 5 93.26 89.29
Open FMM Nero2D Total Time OpenBenchmarking.org Seconds, Fewer Is Better Open FMM Nero2D 2.0.2 Total Time Stock GCC LTO 900 1800 2700 3600 4500 4374.94 4223.39 -flto 1. (CXX) g++ options: -O2 -lfftw3 -llapack -lblas -lgfortran -lm
Timed ImageMagick Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed ImageMagick Compilation 6.8.1-10 Time To Compile Stock GCC LTO 300 600 900 1200 1500 SE +/- 20.61, N = 3 SE +/- 5.86, N = 3 1123.07 1627.51
Timed PHP Compilation Time To Compile OpenBenchmarking.org Seconds, Fewer Is Better Timed PHP Compilation 5.2.9 Time To Compile Stock GCC LTO 300 600 900 1200 1500 SE +/- 8.22, N = 4 SE +/- 19.22, N = 3 492.43 1210.48 -flto 1. (CC) gcc options: -O2 -pedantic -ldl -lz -lm
VP8 libvpx Encoding vpxenc OpenBenchmarking.org Frames Per Second, More Is Better VP8 libvpx Encoding 1.1.0 vpxenc Stock GCC LTO 0.09 0.18 0.27 0.36 0.45 SE +/- 0.00, N = 3 SE +/- 0.00, N = 3 0.40 0.40 1. (CC) gcc options: -lvpx -lm -lpthread
Phoronix Test Suite v10.8.5