On Wed, Sep 27, 2017 at 6:23 PM, Thorsten Ottosen
Benedek, could you please make a test of the performance of serialization for both devector/batch_deque vs boost::vector/boost::deque (release mode, full speed optimization), perhaps using the same measuring technique as employed by Joaquin. And then post results and code so people can run it on their favorite system. You should use types char, int, and something bigger, e.g. string or array
.
Hi,
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:
-------------------------------------------------------------------------------------------------------------------------
Benchmark
Time CPU Iterations
-------------------------------------------------------------------------------------------------------------------------
boost::double_ended::devector<char>/32768 94197
ns 94039 ns 7430
std::vector<char>/32768 94351
ns 94235 ns 7457
boost::double_ended::batch_deque