# Re: Ruby vs. PHP

**URL:** <https://www.ruby-forum.com/t/re-ruby-vs-php/116594>\
**Category:** Ruby\
**Created:** [October 7, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/re-ruby-vs-php/116594 "2007-10-07T19:52:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![igouy](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/ce7236/32.png) [@igouy](https://www.ruby-forum.com/u/igouy)\
**Post date:** [October 7, 2007, 7:52pm UTC](https://www.ruby-forum.com/t/re-ruby-vs-php/116594/1 "2007-10-07T19:52:23Z")

</div>

Chad P. wrote:

-snip-

> I’m also not sure the jruby implementation’s numbers here are  
> representative of JRuby’s strengths. Does JRuby benefit from the  
> benefits of Java’s optimizing VM for long-running processes?  
> I know it’s probably suffering, in micro-benchmarks, from increased  
> start-up times as it loads the VM.

JRuby is suffering from being 1.0

“JRuby 1.0 was focused almost entirely on one goal: Ruby 1.8.x  
compatibility. … The next step is making it run as well as possible.  
… The heavy lifting for performance and scalability are coming up  
…”

> **[JRuby 1.0 Released!](http://headius.blogspot.com/2007/06/jruby-10-released.html)**
>
> We have finally released JRuby 1.0 , based on the last release candidate, RC3. And what more is there to say? Not really a whole lot...It's ...

Please notice that JRuby is running some of those “micro-benchmarks”  
for 2 1/2 hours before dwelling too much on JVM startup-time 🙂

[http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=jruby&lang2=jruby](http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=jruby&lang2=jruby)

> I’m surprised to see python’s median so low. Are these benchmarks  
> heavy on bytecode-optimized Python, or do they tend to use standard  
> interpreted Python?

A build and run log is shown for each program:  
[http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=meteor&lang=python&id=2#log](http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=meteor&lang=python&id=2#log)

And then there’s Psyco  
[http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=psyco&lang2=python](http://shootout.alioth.debian.org/gp4sandbox/benchmark.php?test=all&lang=psyco&lang2=python)
