Add tests for the bench_log benchmarks, make libserialize use same code as serde
reuse the buffers
More benchmark cleanup