Posted by abhishek_ka
on May 20, 2008 at 10:08 AM PDT
I have a question regarding performance (for parsing/serialization) of Fast Infoset over XML.
Fast Infoset is used to encode XML documents in binary format. The Fast Infoset document are smaller in size in comparison to XML document.
In order to compare the performance for serialization/parsing, let's consider the following cases:
Case1: Application produces a XML document
Application ---> XML
Case2: Application produces a Fast Infoset document
Application ---> XML ---> Fast Infoset document
Time required for serialization of Fast Infoset document = Time required for serialization of XML + Time required of converting XML document to Fast Infoset document
Thus time required for serialization/parsing of Fast Infoset document would always be more than time required for serialization/parsing of XML document
Am I missing something?