This post originated from an RSS feed registered with Java Buzz
by dion.
Original Post: RE: Ruby Performance
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Charles Miller has written about Ruby Performance.
He discusses a micro benchmark where he passes an XML file using REXML on the Ruby side, and compares it to dom4j on the Java side.
The XML file was large. 25MB. And Ruby was spending far too much time in GC.
It would be interesting to look at the code and see what is going on. I have never had to really push Ruby hard, but have never had any problems like this.
Of course, do you want to use a DOM in this situation anyway? ;)