Noocyte’s Weblog

May 15, 2008

Xml processing performance

Filed under: Link, Work — Tags: , , — noocyte @ 10:11

Derik Whittaker has been running a series of XPath/XLinq comparions and in his last post he compares the performance of the two. The results were quite interesting and surprising to say the least. XLinq is actually 3 times faster when searching for a value in an Xml document! I haven’t done any performance testing like this myself (I will!), but this looks very promising. In Deriks tests it looks like XDocument loads a little slower that XmlDocument, perhaps that loss is in part what improves the performance when searching? I’m thinking maybe they added “indexes” or something similar in XDocument… Anyway, it looks like XLinq is the way to go when manipulating and searching in Xml documents.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: