My code for a serialization performance test