Re: [Boost-bugs] [Boost C++ Libraries] #7422: Provide a condition variable with zero-overhead performance penality

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #7422: Provide a condition variable with zero-overhead performance penality
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-18 16:24:43


#7422: Provide a condition variable with zero-overhead performance penality
------------------------------------------+---------------------------------
  Reporter: maxim.yegorushkin@… | Owner: viboes
      Type: Feature Requests | Status: assigned
 Milestone: To Be Determined | Component: thread
   Version: Boost 1.51.0 | Severity: Regression
Resolution: | Keywords: condition_variable
------------------------------------------+---------------------------------

Comment (by viboes):

 Hi,

 I have reached to improve the performances by removing the internal_mutex
 (see the attached patch). Here they are the results for clang-3.2:

 {{{
 consumers,(std-boost)/std,std,boost
 1,3.163455,442899995,428889051
 2,0.416842,736341309,733271929
 3,1.203291,941092107,929768034
 4,-0.029287,1217358160,1217714683
 5,0.896356,1422949963,1410195269
 6,0.315211,1734865379,1729396900
 7,1.033687,1882941043,1863477335
 8,-0.355615,2217150537,2225035057
 9,1.051769,2378341849,2353327192
 10,0.500550,2721524297,2707901713
 }}}

 I suspect that I have no compiled the library libc++ in release mode :(

 Please, could you give a try to this patch?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7422#comment:28>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC