Add routine for benchmarking buffered serialization