Alexey Verkhovsky wrote:
In Petstore script/benchmark_action: * trunk runs two times faster than 1.0.1
That fits with most of my measurements of compiled versus interpreted code. There's more gains to be had in the compiler, but it seems like a rough doubling of performance at the moment.
* there seems to be a significant bottleneck somewhere in executing the Rails framework
That's the feeling I have too...something's broken somewhere. If simpler scripts across a variety of libraries and syntax are in general much faster than MRI, there's likely a fixable bottleneck somewhere slowing down Rails.
* when framework processing is excluded, JRuby is about 1.5 times slower than MRI
Hmm interesting. I'm guessing this is going to turn up as missing optimizations (or broken implementations) in core classes. That's the next area we need to focus on for performance after the compiler is complete.
* Unlike earlier test runs, AR-JDBC in the current trunk has a noticeable advantage over pure-Ruby MySQL driver
That's good to hear. Perhaps it's because the remaining Ruby code in AR-JDBC is now compiling, eliminating that as a primary bottleneck.
I want to have the compiler done by the end of the week, and then I'll start launching into core-class-related benchmarking and bottlenecks. If you guys work from the top down and I work from the bottom up, we can meet in the middle.
- Charlie --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
