g++ Version | Baseline speed | Profile-guided optimization |
---|---|---|
4.4 | 1.000 | 1.099 |
4.5 | 0.962 | 1.125 |
4.6 | 1.043 | 1.057 |
4.7 | 1.019 | 1.034 |
It is disturbing that performance has gotten worse in gcc 4.7.
gcc version 4.4.7 (Debian 4.4.7-1)
gcc version 4.5.3 (Debian 4.5.3-12)
gcc version 4.6.3 (Debian 4.6.3-1)
gcc version 4.7.0 (Debian 4.7.0-8)
g++-4.4 -Wall -O99 -march=native -DNDEBUG -pg -fprofile-generate point-growth.cpp
./a.out
g++-4.4 -Wall -O99 -march=native -DNDEBUG -fprofile-use -o profile point-growth.cpp
g++-4.4 -Wall -O99 -march=native -DNDEBUG -o baseline point-growth.cpp
/proc/cpuinfo
vendor_id : GenuineIntel cpu family : 15 model : 4 model name : Intel(R) Pentium(R) 4 CPU 2.80GHz stepping : 1 microcode : 0xd cpu MHz : 2793.177 cache size : 1024 KB
No comments :
Post a Comment