Boost logo

Boost Users :

Subject: [Boost-users] New and updated serialization performance results
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2009-03-02 23:21:09

Recently I updated this comparsion,,%a0of Ebenezer
Enterprises and the Boost Serialization library.
Here's a link to the previous version of that file,  The previous
tests used Boost 1.34.1 and the updated versions use
Boost 1.38.  I didn't detect any improvement performance-
wise in the Boost Serialization library in this round of
testing. In addition to the updated results, I've added
some new tests that test loading/receiving data.
Although Boost Serialization comes closer to Ebenezer
times when loading/receiving data than it does when
saving/sending data, there still is a gap between the
two.  That gap is greatest when (multi)set, (multi)map,
or rb_tree are used. This is probably because Boost
Serialization doesn't use the insert with a hint
function available with these containers.  I believe
that multi_index uses the hinted verison of insert
in it's marshalling code, so in my opinion it makes
sense to consider this in Boost Serialization also.

Additionally, we've added support for flex_string,, to the site. On that page
it says Harmut Kaizer reported that dropping flex_string
into the Wave Boost Preprocessor improved it's speed by
5-10%, depending on input.  I've done a few performance
tests comparing the two strings and also found
flex_string to be more efficient than std::string.

Brian Wood
Ebenezer Enterprises

"Then Samuel took a rock and set it up between Mizpah
and Shen. He named it Ebenezer [Rock of Help] and said,
'Until now the LORD has helped us.'"

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at