Hi,
It seems that the RDoc performance problem isn't really that - except
that hotspot doesn't have time to improve the situation. If I change the
bench_rake_install script to include the --no-ri flag, I can run it
repeatedly. The results are interesting. MRI:
3.580000 0.100000 3.680000 ( 3.781827)
3.560000 0.080000 3.640000 ( 3.794740)
3.620000 0.060000 3.680000 ( 3.769893)
3.610000 0.050000 3.660000 ( 4.336018)
3.610000 0.060000 3.670000 ( 3.866037)
Compared to JRuby -O -J-server:
14.661000 0.000000 14.661000 ( 14.661000)
6.701000 0.000000 6.701000 ( 6.701000)
5.114000 0.000000 5.114000 ( 5.114000)
4.914000 0.000000 4.914000 ( 4.914000)
4.786000 0.000000 4.786000 ( 4.786000)
As you can see, the improvement is really large in the subsequent runs.
Of course, this doesn't help the situation much since you rarely want to
run RDoc more than once for the same gem... =) But theoretically this
would mean the when installing more than one gem at the time, the later
gems will be installed much faster.
It's still not as fast as MRI, but it's much better than earlier numbers
have said.
Cheers
--
Ola Bini (http://ola-bini.blogspot.com)
JRuby Core Developer
Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
Practical JRuby on Rails (http://apress.com/book/view/9781590598818)
"Yields falsehood when quined" yields falsehood when quined.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email