add benchmark on serialization