This PR adds benchmarks for the unserialization of the prevector.
Note: Separated from #12324.
73 | + CDataStream s0(SER_NETWORK, 0); 74 | + prevector<28, T> t0; 75 | + t0.resize(28); 76 | + for (auto x = 0; x < 1001; ++x) { 77 | + s0 << t0; 78 | + }
Self review: To closing to actual condition, it would be better to include the case where the size exceeds the initial capacity.
done.
This patch adds 2 benchmarks to measure for performance of
the unserialization of prevector.
utACK 46340b3337b7ef9fa68030e9c4b2092a25874837