speed: XmlTextReader vs LinqtoXml

Posted by Michel on Stack Overflow See other posts from Stack Overflow or by Michel
Published on 2010-06-07T09:46:53Z Indexed on 2010/06/07 10:22 UTC
Read the original article Hit count: 512

Filed under:
|
|

Hi,

i'm about to read some xml (who isn't :-)) This time however it's a lot of data: about 30.000 records with 5 properties, all in one file.

Till now i've always read that the XmlTextReader is the fastest way to read xml data, but now there also is the (nice sytax of) linqtoXml.

Does anybody know any performance issues, or that there aren't any, with LinqToXml?

Michel

© Stack Overflow or respective owner

Related posts about c#

Related posts about Xml