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) 4 5----------------- Test #1 ---------------- 6Testers: 7 Matthias Troyer, Michael Gauckler, David Abrahams 8 9Date: 10 2005-09-09 11 12Compiler: 13 Cygwin g++-4.0.0 14 15Command lines: 16 g++ -c -o efficiency.o -ftemplate-depth-100 -funroll-loops \ 17 -O3 -finline-functions -Wno-inline -DNDEBUG efficiency.cpp 18 19 g++ -o efficiency.exe efficiency.o -Wl,--strip-all 20 21 efficiency && efficiency && efficiency 22 23Machine: 24 Dell Inspiron 9300 25 Intel(R) Pentium(R) M processor 2.00GHz 26 Running on 230 volts AC power 27 28Timings: 29 Run #1 results discarded per standard practice 30 31 Run #2 32 plain time: 0.75 33 named parameter time: 0.734 34 35 Run #3 36 plain time: 0.781 37 named parameter time: 0.766 38 39----------------- Test #2 ---------------- 40 41Testers: 42 Chris Frey 43 44Date: 45 2005-09-17 46 47Compiler: 48 Linux kernel 2.4.27 49 gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8) 50 51Command lines: 52 g++ -c -o efficiency.o -ftemplate-depth-100 -funroll-loops \ 53 -O3 -finline-functions -Wno-inline -DNDEBUG efficiency.cpp 54 55 g++ -o efficiency.exe efficiency.o -Wl,--strip-all 56 57Machine: 58 IBM Thinkpad 770Z, running on AC power 59 Intel Pentium II 366Mhz 60 61Timings: 62 Run #1 results discarded per standard practice 63 64 Run #2 65 plain time: 6.42 66 named parameter time: 7.34 67 68 Run #3 69 plain time: 6.42 70 named parameter time: 7.34 71 72----------------- Test #2 ---------------- 73 74Testers: 75 Stuar Dootson 76 77Date: 78 2005-09-18 79 80Machine: 81 Athlon 64 3500+ laptop, running on AC power 82 Windows XP SP2 83 84 85Compiler: Visual C++ 7.1 86 87 command line: 88 cl -O2 efficiency.cpp -EHsc -I\lib\boost\include\boost-1_33 89 90 Results: 91 plain time: <ignored> 92 named parameter time: <ignored> 93 plain time: 1.453 94 named parameter time: 1.437 95 plain time: 1.453 96 named parameter time: 1.453 97 98Compiler: Visual C++ 8.0 99 100 command-line: 101 cl -O2 efficiency.cpp -EHsc -I\lib\boost\include\boost-1_33 102 103 Results: 104 plain time: <ignored> 105 named parameter time: <ignored> 106 plain time: 1.438 107 named parameter time: 1.453 108 plain time: 1.438 109 named parameter time: 1.437 110 111Compiler: Mingw gcc 3.4.2 112 113 command-line: 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 118 119 Results: 120 plain time: <ignored> 121 named parameter time: <ignored> 122 plain time: 1.14 123 named parameter time: 1.422 124 plain time: 1.125 125 named parameter time: 1.406 126 127----------------------------------------- 128 129