Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4307: basic_oarchive optimization
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-06-08 21:31:43
#4307: basic_oarchive optimization
--------------------------+-------------------------------------------------
Reporter: anonymous | Owner: ramey
Type: Patches | Status: new
Milestone: Boost 1.43.0 | Component: serialization
Version: Boost 1.44.0 | Severity: Optimization
Keywords: |
--------------------------+-------------------------------------------------
Comment(by anonymous):
some simple performance tests:
my focus was on speeding up "archive construction - serialize few or 1
object - destruction", but you're probably most interested in bulk
performance into a file, so this is binary_oarchive into a std::ofstream
filestream.
numbers are throughput increase, 100% means it's twice as fast.
unique untracked objects: ~ 35%
unique tracked objects: ~130 %
tracked duplicates (serializing pointers to the same objects over and over
again): ~ 30%
"unique tracked objects" is probably closer to the other ones for fewer
objects, this was lots of objects so I could measure it in seconds. but it
does make sense, as that's the case that has to constantly add to the
object tracking set, while the others only read from the data structures,
when all classes/objects are registered.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/4307#comment:6> 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