Set the size of the preallocated output buffer
Set the size of the preallocated output buffer

Output buffer by default preallocates 64KB of memory. When serializing
very small objects like Person in this test this is unnecessary and
costly (.NET will zero out allocated memory). Specifying the output size
to be more appropriate for the size of the data shows the actual cost of
serialization rather than redundant memset. In our tests Bond is faster
then protobuf.net for both serialization and deserialization.

takemyoxygen/bond-performance-tests