Hi Benedek,
Please find the benchmark code and results attached. It compares serialization of devector/batch_deque/std::vector/std::deque. (I couldn't find a ready serializer for Boost.Container). The comparison is not exactly fair, because it seems boost/serialization/vector.hpp also adds version information. Measurement was done as above.
Brief preview of the full set of attached results:
I was a bit surprised that std::vector performed almost as good as devector.
Then I realized that you are testing serialization "save" and not
serialization "load".
Given that, I'm now surprised that devector/batch_deque is faster than
std::vector for e.g. std::array