OR Mapping: Comparing four ways to stuff your objects
Don Demsak (DonXML) has a great posting that compares the relative performance of four ways to stuff an object from the database:
- DataReader
- DataSet
- XPathNavigator
- XmlSerialization
They are in order :-)
Not surprisingly, XmlSerialization is the slowest (by 47%). Something to think about, no?
Don also references a nice anti-DataSet for Web Services post by Scott Hansleman.