# Rails 2.3.4 and Erubis 2.6.5, Speedup?

**URL:** <https://www.ruby-forum.com/t/rails-2-3-4-and-erubis-2-6-5-speedup/176089>\
**Category:** Rails\
**Created:** [September 24, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/rails-2-3-4-and-erubis-2-6-5-speedup/176089 "2009-09-24T16:43:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_LSTaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ee7513/32.png) [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Post date:** [September 24, 2009, 4:43pm UTC](https://www.ruby-forum.com/t/rails-2-3-4-and-erubis-2-6-5-speedup/176089/1 "2009-09-24T16:43:18Z")

</div>

I am running Rails 2.3.4 with Phusion (AKA mod\_rails) and Apache2 and  
need  
some significant speedup in rendering. E.g. a common operation takes  
several  
seconds (View: 2973, DB: 74). Googling turned up several posts on 2-3x  
speeds  
w/ Erubis compared to ERB from several years ago. Installation of  
erubis  
2.6.5 was straightforeward and worked with no changes to the views. But  
speedup was only 4% at best. I did not succeed in getting the  
preprocessing  
features to work at all (the [%= … %] was not recognized).

Does anyone have some recent experience with Erubis and is the speedup  
factor  
still similar? Or has its optimizations been encorporated into ERB?

TIA,  
Jeffrey
