The idea is to make apples-to-apples comparison easier by having one benchmark implementation each for Encode and Decode, and parameterizing with a runtime.Serializer and a []runtime.Object (to vary the concrete type and contents).