Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r60044 - in sandbox/statistics/detail/assign: boost/assign/auto_size/detail libs/assign/doc
From: erwann.rogard_at_[hidden]
Date: 2010-03-01 13:00:03


Author: e_r
Date: 2010-03-01 13:00:02 EST (Mon, 01 Mar 2010)
New Revision: 60044
URL: http://svn.boost.org/trac/boost/changeset/60044

Log:
m
Text files modified:
   sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp | 2
   sandbox/statistics/detail/assign/libs/assign/doc/compilers_tested.txt | 4 -
   sandbox/statistics/detail/assign/libs/assign/doc/speed2.txt | 88 ++++++++++++++++++++++++++++++++++++++-
   3 files changed, 87 insertions(+), 7 deletions(-)

Modified: sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp
==============================================================================
--- sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp (original)
+++ sandbox/statistics/detail/assign/boost/assign/auto_size/detail/auto_size.hpp 2010-03-01 13:00:02 EST (Mon, 01 Mar 2010)
@@ -51,7 +51,7 @@
             
     template<typename L,typename T,int N,template<typename> class Ref,
             typename P>
- struct expr;
+ class expr;
 
     // ---- Policy meta classes --- //
 

Modified: sandbox/statistics/detail/assign/libs/assign/doc/compilers_tested.txt
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/doc/compilers_tested.txt (original)
+++ sandbox/statistics/detail/assign/libs/assign/doc/compilers_tested.txt 2010-03-01 13:00:02 EST (Mon, 01 Mar 2010)
@@ -2,11 +2,9 @@
         /libs/assign/example/ref_list_of.cpp
         /libs/assign/test/speed2.cpp
 
-compiled and executed for :
+compiled and executed fine for :
 
 Platform Compiler Boost version Date Tested
 Mac OS X 10.6 gcc 4.2 boost_1_41_0 March 1st, 2010
 Win7-32 V6.1.7100 Dev-C++ 5.0 beta 9.2 - Mingw/GCC 3.4.2 boost_1_41_0 March 1st, 2010
-
-Pending:
 Win7-32 V6.1.7100 Visual Studio 2010 boost_1_41_0 March 1st, 2010

Modified: sandbox/statistics/detail/assign/libs/assign/doc/speed2.txt
==============================================================================
--- sandbox/statistics/detail/assign/libs/assign/doc/speed2.txt (original)
+++ sandbox/statistics/detail/assign/libs/assign/doc/speed2.txt 2010-03-01 13:00:02 EST (Mon, 01 Mar 2010)
@@ -1,9 +1,9 @@
 Output from speed2.cpp
-2.4 GHz Intel Core 2 Duo - Mac OS Leopard 10.6 - x86_64 - Release mode - gcc 4.2
-
 Each arg is a vec of max size : 100
 Number of repeated function calls : 100000000
 
+2.4 GHz Intel Core 2 Duo - Mac OS Leopard 10.6 - x86_64 - Release mode - gcc 4.2
+
 cref_list_of(1) => 0.13 s
 
 cref_list_of_csv(1) => 0.25 s
@@ -38,4 +38,86 @@
 
 cref_list_of_csv(90) => 44.08 s
 
-cref_list_of<>(90) => 6.97 s
\ No newline at end of file
+cref_list_of<>(90) => 6.97 s
+
+Warning for both compilers tested under Win7-32 below:
+1- a virtual machine was used so absolute time are overestimated. Relative times
+between different functions, may be somewhat more reliable.
+2- list_of was excluded as it would take too much time.
+
+Win7-32 V6.1.7100 Dev-C++ 5.0 beta 9.2 - Mingw/GCC 3.4.2
+
+cref_list_of(1) => 1.18 s
+
+cref_list_of_csv(1) => 1.91 s
+
+cref_list_of<>(1) => 0.37 s
+
+
+cref_list_of(3) => 2.73 s
+
+cref_list_of_csv(3) => 4.09 s
+
+cref_list_of<>(3) => 1.02 s
+
+
+cref_list_of(10) => 7.04 s
+
+cref_list_of_csv(10) => 11.80 s
+
+cref_list_of<>(10) => 3.79 s
+
+
+cref_list_of(30) => 20.07 s
+
+cref_list_of_csv(30) => 44.59 s
+
+cref_list_of<>(30) => 9.47 s
+
+
+cref_list_of(90) => 57.47 s
+
+cref_list_of_csv(90) => 152.51 s
+
+cref_list_of<>(90) => 76.80 s
+
+
+Win7-32 V6.1.7100 - Visual Studio 2010 - Release mode -
+
+Warning : The slow performance of cref_list_of vs cref_list_of<> with this
+compilers, was confirmed separately under a fully Windows OS (not a VM).
+
+cref_list_of(1) => 0.72 s
+
+cref_list_of_csv(1) => 0.00 s
+
+cref_list_of<>(1) => 0.00 s
+
+
+cref_list_of(3) => 1.34 s
+
+cref_list_of_csv(3) => 0.00 s
+
+cref_list_of<>(3) => 0.04 s
+
+
+cref_list_of(10) => 3.83 s
+
+cref_list_of_csv(10) => 0.00 s
+
+cref_list_of<>(10) => 0.04 s
+
+
+cref_list_of(30) => 10.72 s
+
+cref_list_of_csv(30) => 9.86 s
+
+cref_list_of<>(30) => 0.05 s
+
+
+cref_list_of(90) => 34.39 s
+
+cref_list_of_csv(90) => 29.93 s
+
+cref_list_of<>(90) => 0.07 s
+


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk