[Boost-bugs] [Boost C++ Libraries] #4231: Performance of destroying objects from boost::object_ppol

Subject: [Boost-bugs] [Boost C++ Libraries] #4231: Performance of destroying objects from boost::object_ppol
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-05-17 19:47:24


#4231: Performance of destroying objects from boost::object_ppol
--------------------------+-------------------------------------------------
 Reporter: Rohit Joshi | Owner: cnewbold
     Type: Bugs | Status: new
Milestone: Boost 1.43.0 | Component: pool
  Version: Boost 1.42.0 | Severity: Optimization
 Keywords: |
--------------------------+-------------------------------------------------
 I was using boost::object_pool in my program and performance went down. I
 though that was due to boost::multi_index_container
 [https://svn.boost.org/trac/boost/ticket/4220] but later found that it was
 due to boost::object_pool.

 Her is a link for source code:
 [http://joshitech.blogspott.com/2010/05/boost-object-pool-destroy-
 performance.html]

 This are the test results.

 ./object_pool_test 10000
 Total time to destroy 10000 using delete: 0.3158860
 Total time to destroy 10000 from object_pool: 1.447002736 sec

 ./object_pool_test 20000
 Total time to destroy 20000 using delete: 0.6340170
 Total time to destroy 20000 from object_pool: 9.624879974 sec

 ./object_pool_test 30000
 Total time to destroy 30000 using delete: 0.10413087
 Total time to destroy 30000 from object_pool: 32.150515048 sec

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4231>
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:03 UTC