Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51607 - sandbox/reference_closure
From: dave_at_[hidden]
Date: 2009-03-04 10:24:43


Author: dave
Date: 2009-03-04 10:24:43 EST (Wed, 04 Mar 2009)
New Revision: 51607
URL: http://svn.boost.org/trac/boost/changeset/51607

Log:
Re-do all timings with full iterations and no work

Text files modified:
   sandbox/reference_closure/timings.txt | 56 ++++++++++++++++++++++++++++++++++++++++
   1 files changed, 56 insertions(+), 0 deletions(-)

Modified: sandbox/reference_closure/timings.txt
==============================================================================
--- sandbox/reference_closure/timings.txt (original)
+++ sandbox/reference_closure/timings.txt 2009-03-04 10:24:43 EST (Wed, 04 Mar 2009)
@@ -1,3 +1,17 @@
+=== Original Result ===
+
+execute trivial_nested
+real 0m10.406s
+user 0m10.379s
+sys 0m0.016s
+
+execute trivial_function
+real 4m30.525s
+user 4m29.280s
+sys 0m0.476s
+
+t(std::function<>) / t(reference_closure): 25.9
+
 === Original Result (10x fewer loops) ===
 
 execute trivial_nested
@@ -26,6 +40,20 @@
 
 t(std::function<>) / t(reference_closure): 23.5
 
+=== Lambdas would be known to be trivially copiable (full loops) ===
+
+execute trivial_nested
+real 0m11.626s
+user 0m11.559s
+sys 0m0.025s
+
+execute trivial_function
+real 0m42.626s
+user 0m42.506s
+sys 0m0.085s
+
+t(std::function<>) / t(reference_closure): 3.7
+
 === Lambdas would be known to be trivially copiable ===
 
 execute trivial_nested
@@ -40,6 +68,20 @@
 
 t(std::function<>) / t(reference_closure): 4.1
 
+=== Separate Translation Unit for Parallel Lib (full loops) ===
+
+execute refclosure
+real 0m12.670s
+user 0m12.614s
+sys 0m0.020s
+
+execute stdfunction
+real 0m44.633s
+user 0m44.608s
+sys 0m0.010s
+
+t(std::function<>) / t(reference_closure): 3.5
+
 === Separate Translation Unit for Parallel Lib ===
 
 execute refclosure
@@ -82,6 +124,20 @@
 
 t(std::function<>) / t(reference_closure): 3.1
 
+=== Eliminate Indirect Call in copy c'tor of std::function<...> (no work) ===
+
+execute refclosure
+real 0m12.971s
+user 0m12.899s
+sys 0m0.030s
+
+execute stdfunction
+real 0m30.187s
+user 0m30.083s
+sys 0m0.052s
+
+t(std::function<>) / t(reference_closure): 2.3
+
 === Eliminate Indirect Call in copy c'tor of std::function<...> ===
 
 execute refclosure


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