From: matt@... (matt neuburg) Date: 2008-04-24T14:00:05+09:00 Subject: Re: Fast XML output Avdi Grimm wrote: > On Tue, Apr 22, 2008 at 3:40 PM, Michael Litton > wrote: > > Pure xml output from ActiveRecord::Base takes approx 20s for 500 > > objects (that are small and simple). Does anyone have any pointers? > > How fast is REXML? > > Look into libxml. The devil is in the details. I rewrote my XML-manipulation class to use libxml instead of REXML and the libxml-based version of my routine takes twice as long as the REXML-based version. So it all depends on exactly what you do with it... m. -- matt neuburg, phd = matt@tidbits.com, http://www.tidbits.com/matt/ Leopard - http://www.takecontrolbooks.com/leopard-customizing.html AppleScript - http://www.amazon.com/gp/product/0596102119 Read TidBITS! It's free and smart. http://www.tidbits.com