<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Fast XML parsing with Ruby</title>
	<atom:link href="http://www.ioncannon.net/programming/643/fast-xml-parsing-with-ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ioncannon.net/programming/643/fast-xml-parsing-with-ruby/</link>
	<description>Thoughts on Software Development and Engineering</description>
	<lastBuildDate>Wed, 10 Mar 2010 02:57:29 +0000</lastBuildDate>
	
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: carson</title>
		<link>http://www.ioncannon.net/programming/643/fast-xml-parsing-with-ruby/comment-page-1/#comment-156462</link>
		<dc:creator>carson</dc:creator>
		<pubDate>Thu, 05 Nov 2009 19:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=643#comment-156462</guid>
		<description>I would try pulling out any processing you are doing for each node, make sure you aren&#039;t printing anything to the console and time that. If you aren&#039;t even doing anything that would be a mystery.</description>
		<content:encoded><![CDATA[<p>I would try pulling out any processing you are doing for each node, make sure you aren&#039;t printing anything to the console and time that. If you aren&#039;t even doing anything that would be a mystery.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis Ivanov</title>
		<link>http://www.ioncannon.net/programming/643/fast-xml-parsing-with-ruby/comment-page-1/#comment-156449</link>
		<dc:creator>Denis Ivanov</dc:creator>
		<pubDate>Thu, 05 Nov 2009 16:04:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=643#comment-156449</guid>
		<description>Useful article!

Got my stuff working just fine, except that libxml-ruby still seems dismally slow. My XML structure is dropdead simple and my file is 200MBs... All nodes are super short with no more than one integer attribute and half a dozen children or so. 

Yet IM clocking in barely over one node a second on a dualcore 3.0Ghz latest Core 2 Duo with 4GBs of quite speedy DDR2 ram...

How can I gain more insight into where the time is being spent... any ideas, guys?</description>
		<content:encoded><![CDATA[<p>Useful article!</p>
<p>Got my stuff working just fine, except that libxml-ruby still seems dismally slow. My XML structure is dropdead simple and my file is 200MBs&#8230; All nodes are super short with no more than one integer attribute and half a dozen children or so. </p>
<p>Yet IM clocking in barely over one node a second on a dualcore 3.0Ghz latest Core 2 Duo with 4GBs of quite speedy DDR2 ram&#8230;</p>
<p>How can I gain more insight into where the time is being spent&#8230; any ideas, guys?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How I Used Hpricot and Mechanize in GeeQE &#124; IONCANNON</title>
		<link>http://www.ioncannon.net/programming/643/fast-xml-parsing-with-ruby/comment-page-1/#comment-152978</link>
		<dc:creator>How I Used Hpricot and Mechanize in GeeQE &#124; IONCANNON</dc:creator>
		<pubDate>Mon, 28 Sep 2009 10:40:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=643#comment-152978</guid>
		<description>[...] IONCANNON What are you building?   Skip to content AboutProjectsGoogle Analytics Dashboard Wordpress WidgetHTTP Live Video Stream Segmenter and DistributorGeeQE &#8211; Native Stack Overflow iPhone ApplicationBuilding GeeQEContactSitemap       &#171; Fast XML parsing with Ruby [...]</description>
		<content:encoded><![CDATA[<p>[...] IONCANNON What are you building?   Skip to content AboutProjectsGoogle Analytics Dashboard Wordpress WidgetHTTP Live Video Stream Segmenter and DistributorGeeQE &#8211; Native Stack Overflow iPhone ApplicationBuilding GeeQEContactSitemap       &laquo; Fast XML parsing with Ruby [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chuck Fouts</title>
		<link>http://www.ioncannon.net/programming/643/fast-xml-parsing-with-ruby/comment-page-1/#comment-150249</link>
		<dc:creator>Chuck Fouts</dc:creator>
		<pubDate>Wed, 09 Sep 2009 15:53:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.ioncannon.net/?p=643#comment-150249</guid>
		<description>I recently needed to parse some crazy nested XML from multiple files into one merged file.  I decided that loading the DOM was the only way to accomplish this.  I&#039;d read that Nokogiri was faster but didn&#039;t think it would be that much faster.  I was already familar with REXML so I went with that library.  I used TDD while creating the parser and was confident in the code by the time I finished.  I started the run to parse the multiple XML files and it was going to take almost 40 minutes.  Kept finding corner cases to fix and soon I decided it was taking way too long to get going.  Installed Nokogiri and ported the code to use Nokogiri in a couple of hours.  Having the unit tests really saved me here.  Started the run again and it was amazingly faster.  In the end, the entire run with Nokogiri only took around 3 minutes instead of the 40 minutes with REXML.</description>
		<content:encoded><![CDATA[<p>I recently needed to parse some crazy nested XML from multiple files into one merged file.  I decided that loading the DOM was the only way to accomplish this.  I&#039;d read that Nokogiri was faster but didn&#039;t think it would be that much faster.  I was already familar with REXML so I went with that library.  I used TDD while creating the parser and was confident in the code by the time I finished.  I started the run to parse the multiple XML files and it was going to take almost 40 minutes.  Kept finding corner cases to fix and soon I decided it was taking way too long to get going.  Installed Nokogiri and ported the code to use Nokogiri in a couple of hours.  Having the unit tests really saved me here.  Started the run again and it was amazingly faster.  In the end, the entire run with Nokogiri only took around 3 minutes instead of the 40 minutes with REXML.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
