Re: eRuby speed issue
Shugo Maeda <[email protected]>
| Newsgroups | gmane.comp.apache.mod-ruby |
|---|---|
| Message-ID | <[email protected]> |
Hi, At Wed, 4 Feb 2004 19:55:39 -0800, [email protected] wrote: > In it Shugo says: > > Apache::ERubyRun is very slow, because it uses Tempfile. > > Tempfile is nesessary to use Kernel#load(filename, true). > > In a subsequent message, Shugo posted a patch which boosted the speed of > ERubyRun dramatically. The patch was not included in the archive. > > The message was from March 2003. I took a quick look at the ERubyRun > script and it looked like it still uses temp files. Is that the case? > (I am running eRuby version 1.0.5.) > > When I did some speed tests with ab (Apache benchmark), mod_ruby alone > was much faster than with eRuby. > > Questions: > 1) Could I get a copy of the patch? > 2) Will the patch get merged into eRuby at some point? The patch is merged in mod_ruby-1.1.2. eruby-run.rb in it may work on mod_ruby-1.0.7 too. > 3) Could I get a copy of Apache::FastEruby? ERubyRun was replaced by FastEruby. > 4) Any reason not to use them? I hope no. If you find any problem, please tell me. Shugo