The PEAR::XML_Serializer class is for converting PHP types (strings, floats, arrays, objects, etc.) to and from an XML-formatted string, as an alternative to the native serialize/unserialize functions.
So "how does it compare"? It doesn't. They're different things for different purposes.