Except...the test results have to be taken with a very large grain of salt.
Just a moment ago I did a couple quick tests.
A "Hello, World" in PHP4:
<?php echo "Hello, World" ?>
and a "Hello, World" delivered via IOWA.
This is running on a machine which is not unloaded. It's also nowhere near the power of the machine the above test was done on, being a simple AMD Athlon box with slower RAM running a Linux 2.4 kernel and a 2.0.58 Apache, and it is not running the fastest configuration for IOWA (which is through FastCGI), but, rather, is running through mod_ruby.
Okay, enough with the disclaimers.
Multiple runs of ab -n 1000 produced a mean of about 700 requests per second from the PHP page, and about 200 from the IOWA page.
The ratio there is much better than on the Web_Platform_Benchmarks.html, and if I were to setup a test using fastcgi, it would improve further.
However, this is a weak comparison, because, like things really are not being compared.
So, to get something a little more similar, I dropped a "Hello World" into an existing CakePHP (1.1.3.2967) site that I have, and likewise dropped a "Hello World" into an IOWA (0.99.2.6) site with a comparable page layout and final page size.
CakePHP, if you are unfamiliar, is an MVC framework for PHP that is stylistically similar to Rails. So we're at least comparing frameworks to frameworks here, in the respective langauges.
IOWA beats CakePHP handily, and would expect RoR and Nitro to, as well, given what I know about their performance.
On an ab -n 1000 -c 1
I average 18 requests per second with CakePHP and 60 per second with IOWA. Again, with similarly sized pages, though the navigation in the IOWA example is generated dynamically, while it is static in the CakePHP example.
Playing with different levels of concurrency, I managed to get 35/second out of the CakePHP app and 80/second out of the IOWA one, which is still a ratio that falls dramatically in Ruby's favor when comparing actual frameworks.
Performance comparison can be an entertaining exercise, but with something with as many variables as web page delivery, all performance comparisons need to be interpreted with a bit of skepticism, including those I present above. Still, Ruby doesn't strike me as surprisingly slow in any comparisons that I have ever done.
Kirk Haines
···
On Sun, 2 Jul 2006, Reggie Mr wrote:
http://www.usenetbinaries.com/doc/Web_Platform_Benchmarks.html
I can't think of a more useless "test" other than anything put out by
the Alioth shootout.
I would agree...except Ruby did VERY poorly in this "useless" test.