1 Nov 2007 01:00
Re: JRuby perf questions answered
Charles Oliver Nutter <charles.nutter <at> sun.com>
2007-11-01 00:00:25 GMT
2007-11-01 00:00:25 GMT
Roger Pack wrote: > Roger Pack wrote: >>> any questions? >> Startup time and comparison with 1.9? :) > > Also memory use comparison compared to normal C version. Does the GC > throw as often, too? In profiling most apps I've tried, even pretty brutal ones generating a lot of garbage, the GC cost is almost invisible. A tiny blip once in a while. I don't have any really good concrete numbers on overall memory usage. Tom's done a comparison of a minimal/bare Rails app here: http://www.bloglines.com/blog/ThomasEEnebo?id=38 The general story is that per JRuby on Rails instance (usually you have many in a single JVM), we use less memory than an equivalent Mongrel + Ruby + Rails process. A quick check of "jirb" compared to "irb" gives me: jirb: 27MB irb: 2.8MB This is on OS X, Java 6 preview version, so it's safe to say that any JRuby process will have an initial cost of about 25MB to start up the JVM. We've also done a lot in 1.1 to reduce memory consumption, and there's(Continue reading)
Well I won't be at the airport anyway, and I'm staying at the
Courtyard down the street, but in case anyone is interested I just
added this:
-A
RSS Feed