# Why does REXML run significantly slower in Rails

**URL:** <https://www.ruby-forum.com/t/why-does-rexml-run-significantly-slower-in-rails/106214>\
**Category:** Rails\
**Created:** [June 7, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/why-does-rexml-run-significantly-slower-in-rails/106214 "2007-06-07T17:02:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![allen\_r](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/c68b51/32.png) [@allen\_r](https://www.ruby-forum.com/u/allen_r)\
**Post date:** [June 7, 2007, 5:02pm UTC](https://www.ruby-forum.com/t/why-does-rexml-run-significantly-slower-in-rails/106214/1 "2007-06-07T17:02:44Z")

</div>

We have some code that uses REXML, that when executed outside of Rails  
as a  
standalone rb file, runs fine. Once we run the code inside of Rails, it  
is  
dog slow. I know REXML is slow, buggy, sucks, etc., but my question is  
what  
cause the performance to degrade like that. Thanks.
