How can I refuse. So here it is, Benchmark::Serialize is just uploaded to CPAN. (Might be some time before it appears).
Besides making the script into a module I also added a list of the size of the serialized data to the output. A replacement of the original script is available in the examples directory.
(I planned on naming the module Benchmark::Serialization, but my fingers slipped. Should I rename it?)