1 # Copyright David Abrahams 2005. Distributed under the Boost
2 # Software License, Version 1.0. (See accompanying
3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5 ----------------- Test #1 ----------------
7 Matthias Troyer, Michael Gauckler, David Abrahams
16 g++ -c -o efficiency.o -ftemplate-depth-100 -funroll-loops \
17 -O3 -finline-functions -Wno-inline -DNDEBUG efficiency.cpp
19 g++ -o efficiency.exe efficiency.o -Wl,--strip-all
21 efficiency && efficiency && efficiency
25 Intel(R) Pentium(R) M processor 2.00GHz
26 Running on 230 volts AC power
29 Run #1 results discarded per standard practice
33 named parameter time: 0.734
37 named parameter time: 0.766
39 ----------------- Test #2 ----------------
49 gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
52 g++ -c -o efficiency.o -ftemplate-depth-100 -funroll-loops \
53 -O3 -finline-functions -Wno-inline -DNDEBUG efficiency.cpp
55 g++ -o efficiency.exe efficiency.o -Wl,--strip-all
58 IBM Thinkpad 770Z, running on AC power
59 Intel Pentium II 366Mhz
62 Run #1 results discarded per standard practice
66 named parameter time: 7.34
70 named parameter time: 7.34
72 ----------------- Test #2 ----------------
81 Athlon 64 3500+ laptop, running on AC power
85 Compiler: Visual C++ 7.1
88 cl -O2 efficiency.cpp -EHsc -I\lib\boost\include\boost-1_33
92 named parameter time: <ignored>
94 named parameter time: 1.437
96 named parameter time: 1.453
98 Compiler: Visual C++ 8.0
101 cl -O2 efficiency.cpp -EHsc -I\lib\boost\include\boost-1_33
104 plain time: <ignored>
105 named parameter time: <ignored>
107 named parameter time: 1.453
109 named parameter time: 1.437
111 Compiler: Mingw gcc 3.4.2
114 g++ -c -o efficiency.o -ftemplate-depth-100 -funroll-loops -O3
115 -finline-functions -Wno-inline -DNDEBUG efficiency.cpp
116 -I\lib\boost\include\boost-1_33
117 g++ -o efficiency.exe efficiency.o -Wl,--strip-all
120 plain time: <ignored>
121 named parameter time: <ignored>
123 named parameter time: 1.422
125 named parameter time: 1.406
127 -----------------------------------------