Relative performance of Ruby templating systems

I decided to run Siege against Mod Ruby, ERuby, Amrita, PageTemplate,
ruby-tmpl, and Eric Hodel’s template.rb. I have posted my results and
observations at

http://www.io.com/~egabriel/bench/

Thanks to everyone who has given me input.

–gabriel

thank you so much for this! very valuable. i had no idea that eruby was so
slow! i’m now looking at PageTemplate. looks pretty good, except that it is
still so early in developement stage; claiming alpha status.

debating what to do. probably will stick with eruby for now and refactor to
something faster later.

thanks!

···

On Friday 07 February 2003 06:29 pm, Gabriel Emerson wrote:

I decided to run Siege against Mod Ruby, ERuby, Amrita, PageTemplate,
ruby-tmpl, and Eric Hodel’s template.rb. I have posted my results and
observations at

http://www.io.com/~egabriel/bench/

Thanks to everyone who has given me input.

–gabriel


tom sawyer, aka transami
transami@transami.net

What version of Amrita did you use? The alpha for 2.0 (1.8.0) released just a
day or so ago includes a C extension-- I’d be interested to see how that
fares.

http://www.brain-tokyo.jp/research/amrita/amrita-1.8.0.tar.gz

// Bruce

···

On Friday 07 February 2003 08:29 pm, Gabriel Emerson wrote:

I decided to run Siege against Mod Ruby, ERuby, Amrita, PageTemplate,
ruby-tmpl, and Eric Hodel’s template.rb. I have posted my results and
observations at

http://www.io.com/~egabriel/bench/

Thanks to everyone who has given me input.

–gabriel


Bruce R. Williams :: [iusris/#ruby-lang] :: http://www.codedbliss.com

‘It does not require a majority to prevail, but rather an irate,
tireless minority keen to set brush fires in people’s minds.’
– Samuel Adams

“Gabriel Emerson” egabriel@io.com writes:

I decided to run Siege against Mod Ruby, ERuby, Amrita, PageTemplate,
ruby-tmpl, and Eric Hodel’s template.rb. I have posted my results and
observations at

http://www.io.com/~egabriel/bench/

Thanks to everyone who has given me input.

Were all of these run under mod_ruby?

···


matt

can you point me at some info about dbpool? i just wrote a pure ruby dbpool
for postgres but didn’t find anything other solutions out there.

thanks.

-a

ps. your results are very interesting, but i’ll have to sleep before
digesting them.

···

On Sat, 8 Feb 2003, Gabriel Emerson wrote:

I decided to run Siege against Mod Ruby, ERuby, Amrita, PageTemplate,
ruby-tmpl, and Eric Hodel’s template.rb. I have posted my results and
observations at

http://www.io.com/~egabriel/bench/

Thanks to everyone who has given me input.

–gabriel

====================================

Ara Howard
NOAA Forecast Systems Laboratory
Information and Technology Services
Data Systems Group
R/FST 325 Broadway
Boulder, CO 80305-3328
Email: ahoward@fsl.noaa.gov
Phone: 303-497-7238
Fax: 303-497-7259
====================================

Yes, all of these used mod_ruby. I will go back and add that information.
Running any of these without mod_ruby wouldn’t be pretty beyond 25 users.

···

On Sat, 08 Feb 2003 13:59:57 +0900, Matt Armstrong wrote:

“Gabriel Emerson” egabriel@io.com writes:

I decided to run Siege against Mod Ruby, ERuby, Amrita, PageTemplate,
ruby-tmpl, and Eric Hodel’s template.rb. I have posted my results and
observations at

http://www.io.com/~egabriel/bench/

Thanks to everyone who has given me input.

Were all of these run under mod_ruby?

I used 1.0.2 of Amrita. Maybe sometime in the future I will revisit all
of these with newer versions.

···

What version of Amrita did you use? The alpha for 2.0 (1.8.0) released
just a day or so ago includes a C extension-- I’d be interested to see
how that fares.

http://www.brain-tokyo.jp/research/amrita/amrita-1.8.0.tar.gz

// Bruce

Maybe I needed more sleep before I wrote it… I meant to say
“dbBalancer”, not dbpool. It is available at
http://dbbalancer.sourceforge.net/

Another Ruby compatible option is SQLRelay at
http://www.firstworks.com/

···

On Sat, 08 Feb 2003 06:37:20 +0000, ahoward wrote:

On Sat, 8 Feb 2003, Gabriel Emerson wrote:

can you point me at some info about dbpool? i just wrote a pure ruby dbpool
for postgres but didn’t find anything other solutions out there.

thanks.

-a

[courtesy cc of this posting sent to cited author via email]

In article Pine.LNX.4.33.0302080636090.3685-100000@eli.fsl.noaa.gov,

···

ahoward ahoward@fsl.noaa.gov wrote:

can you point me at some info about dbpool? i just wrote a pure ruby dbpool
for postgres but didn’t find anything other solutions out there.

I’ve also posted such a DB pool system a few weeks ago, not specific to
PostgresQL as it uses DBI. Have you looked at it ?

Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- roberto@eurocontrol.fr
Usenet Canal Historique FreeBSD: The Power to Serve!

“Gabriel Emerson” egabriel@io.com writes:

I used 1.0.2 of Amrita. Maybe sometime in the future I will revisit all
of these with newer versions.

What version of Amrita did you use? The alpha for 2.0 (1.8.0) released
just a day or so ago includes a C extension-- I’d be interested to see
how that fares.

http://www.brain-tokyo.jp/research/amrita/amrita-1.8.0.tar.gz

// Bruce

Gabriel,

Since the new version of Amrita is quite different than the version
you tested, would you please make that remark in your page? Like,
update this sentence

“Amrita is really quite a powerful system. Unfortunately, it didn’t
perform well at all on my tests.”

with

“Amrita is really quite a powerful system. Unfortunately, it didn’t
perform well at all on my tests. However, at this time, there is an
experimental version of Amrita which uses C extension to increase its
performance. Further testing will be conducted when that version is no
longer experimental.”

The purpose is not to discourage people who are looking at your page
from trying out Amrita. Also, would you please date the page, so that
future (+1 year) visitors may know that the result is no longer
necessarily valid anymore.

YS.
aka gnome.

That’s a fine suggestion, and you are right, the purpose is not
to discourage. I will date the page and include your version.

···

Since the new version of Amrita is quite different than the version
you tested, would you please make that remark in your page? Like,
update this sentence